SimpleMarkdown/app/build.gradle

88 lines
2.8 KiB
Groovy
Raw Normal View History

2017-07-25 04:37:23 +00:00
apply plugin: 'com.android.application'
2017-07-25 04:37:23 +00:00
android {
2017-08-23 17:24:48 +00:00
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.1'
}
packagingOptions {
exclude 'META-INF/LICENSE-LGPL-2.1.txt'
exclude 'META-INF/LICENSE-LGPL-3.txt'
exclude 'META-INF/LICENSE-W3C-TEST'
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
}
compileSdkVersion 27
buildToolsVersion "26.0.2"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2017-07-25 04:37:23 +00:00
defaultConfig {
applicationId "com.wbrawner.simplemarkdown"
2017-08-23 19:23:18 +00:00
minSdkVersion 19
targetSdkVersion 27
2018-06-07 02:14:45 +00:00
versionCode 9
versionName "0.4.3"
2017-07-25 04:37:23 +00:00
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
2017-12-24 01:24:55 +00:00
minifyEnabled true
2017-07-25 04:37:23 +00:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
2017-12-24 01:24:55 +00:00
flavorDimensions "platform"
productFlavors {
standard {}
samsung {
applicationId "com.wbrawner.simplemarkdown.samsung"
minSdkVersion 21
}
}
dexOptions {
jumboMode true
}
2018-01-27 22:51:45 +00:00
testOptions {
unitTests {
includeAndroidResources = true
}
}
2017-07-25 04:37:23 +00:00
}
ext {
support_version = "27.1.0"
}
2017-07-25 04:37:23 +00:00
dependencies {
2017-12-24 01:24:55 +00:00
annotationProcessor 'com.google.dagger:dagger-compiler:2.11'
2017-07-25 04:37:23 +00:00
annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'
2017-12-24 01:24:55 +00:00
testImplementation 'junit:junit:4.12'
testImplementation "org.robolectric:robolectric:3.6.1"
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3'
implementation "com.android.support:appcompat-v7:$support_version"
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation "com.android.support:design:$support_version"
implementation "com.android.support:support-v13:$support_version"
implementation 'com.commonsware.cwac:anddown:0.3.0'
implementation 'com.google.dagger:dagger:2.11'
implementation 'com.jakewharton:butterknife:8.7.0'
implementation 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
implementation 'com.jakewharton.rxbinding2:rxbinding-design:2.0.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'io.reactivex.rxjava2:rxjava:2.1.0'
samsungImplementation project(":IAP5Helper")
2017-07-25 04:37:23 +00:00
}