2019-09-18 15:29:09 -05:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2020-01-19 12:07:27 -06:00
|
|
|
compileSdkVersion setup.compileSdk
|
2019-09-18 15:29:09 -05:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 9
|
2020-01-19 12:07:27 -06:00
|
|
|
targetSdkVersion setup.targetSdk
|
2019-09-18 15:29:09 -05:00
|
|
|
consumerProguardFiles 'proguard-rules.pro'
|
|
|
|
versionCode 1
|
|
|
|
versionName PROJ_VERSION
|
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
includeCompileClasspath = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
debugMinify {
|
|
|
|
debuggable = true
|
|
|
|
minifyEnabled = true
|
|
|
|
proguardFiles 'proguard-android.txt'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/services/javax.annotation.processing.Processor'
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
textReport true
|
|
|
|
textOutput 'stdout'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-01-19 12:07:27 -06:00
|
|
|
compileOnly "androidx.appcompat:appcompat:${versions.appcompat}"
|
2019-09-18 15:29:09 -05:00
|
|
|
compileOnly 'io.reactivex.rxjava2:rxjava:2.1.3'
|
|
|
|
api 'com.squareup.okhttp3:okhttp:3.12.0'
|
|
|
|
api 'com.google.code.gson:gson:2.8.5'
|
|
|
|
//api deps.mhttpannotations
|
|
|
|
// implementation project(':mhttp-annotations')
|
|
|
|
}
|
|
|
|
|
|
|
|
//apply from: 'https://raw.githubusercontent.com/motcwang/Utils/master/bintray-publish/bintray.gradle'
|