mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
51 lines
1.4 KiB
Groovy
51 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion setup.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdkVersion 9
|
|
targetSdkVersion setup.targetSdk
|
|
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:${versions.appcompat}"
|
|
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' |