szkolny/mhttp/build.gradle

51 lines
1.5 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
defaultConfig {
minSdkVersion 9
targetSdkVersion rootProject.ext.targetSdkVersion
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 {
compileOnly "androidx.appcompat:appcompat:${androidXAppCompat}"
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'