83 lines
2.7 KiB
Groovy
83 lines
2.7 KiB
Groovy
buildscript {
|
|
repositories {
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
}
|
|
|
|
dependencies {
|
|
//noinspection GradleDynamicVersion
|
|
classpath 'io.fabric.tools:gradle:1.+'
|
|
}
|
|
}
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'io.fabric'
|
|
|
|
repositories {
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
}
|
|
|
|
android {
|
|
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
|
|
}
|
|
defaultConfig {
|
|
applicationId "com.wbrawner.simplemarkdown"
|
|
minSdkVersion 19
|
|
targetSdkVersion 27
|
|
versionCode 3
|
|
versionName "0.2.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
dexOptions {
|
|
jumboMode true
|
|
}
|
|
}
|
|
|
|
ext {
|
|
support_version = "27.0.2"
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
compile "com.android.support:appcompat-v7:$support_version"
|
|
compile 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
compile "com.android.support:design:$support_version"
|
|
compile "com.android.support:support-v13:$support_version"
|
|
compile 'com.commonsware.cwac:anddown:0.3.0'
|
|
compile 'com.google.dagger:dagger:2.11'
|
|
compile 'com.jakewharton:butterknife:8.7.0'
|
|
compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
|
|
compile 'com.jakewharton.rxbinding2:rxbinding-design:2.0.0'
|
|
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
|
|
compile 'io.reactivex.rxjava2:rxjava:2.1.0'
|
|
testCompile 'junit:junit:4.12'
|
|
androidTestCompile 'com.android.support.test.espresso:espresso-core:3.0.1'
|
|
androidTestCompile 'com.android.support.test:runner:1.0.1'
|
|
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3'
|
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.11'
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'
|
|
compile('com.crashlytics.sdk.android:crashlytics:2.8.0@aar') {
|
|
transitive = true
|
|
}
|
|
}
|