You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
android-libs/lib_network/build.gradle

50 lines
1.2 KiB

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion rootProject.compileSdkVersion
buildToolsVersion rootProject.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.targetSdkVersion
versionCode 1
versionName "1.0"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation androidLibraries.annotation
implementation thirdLibraries.supportOptional
implementation thirdLibraries.timber
implementation thirdLibraries.retrofit
implementation thirdLibraries.retrofitConverterGson
implementation thirdLibraries.okHttp
implementation thirdLibraries.gson
implementation thirdLibraries.rxJava
implementation thirdLibraries.retrofitRxJava2CallAdapter
compileOnly kotlinLibraries.kotlinStdlib
}