11apply plugin : ' com.android.library'
22apply plugin : ' me.tatarka.retrolambda'
3+ apply from : " ${ project.rootProject.file('config.gradle')} "
34
45android {
5- compileSdkVersion 24
6- buildToolsVersion " 24.0.2 "
6+ compileSdkVersion compile_sdk_version
7+ buildToolsVersion build_tools_version
78
89 defaultConfig {
9- minSdkVersion 11
10- targetSdkVersion 24
11- versionCode 1
12- versionName " 1.0 "
10+ minSdkVersion min_sdk_version
11+ targetSdkVersion target_sdk_version
12+ versionCode app_version_code
13+ versionName app_version_name
1314 }
1415 buildTypes {
1516 release {
@@ -26,11 +27,14 @@ android {
2627dependencies {
2728 compile fileTree(dir : ' libs' , include : [' *.jar' ])
2829 testCompile ' junit:junit:4.12'
29- compile ' com.android.support:appcompat-v7:24.2.0'
30- compile ' com.google.code.gson:gson:2.7'
31- compile ' io.reactivex:rxandroid:1.2.1'
32- compile ' com.squareup.retrofit2:retrofit:2.1.0'
33- compile ' com.squareup.retrofit2:adapter-rxjava:2.1.0'
34- compile ' com.squareup.retrofit2:converter-gson:2.1.0'
35- compile ' com.esotericsoftware:kryo:4.0.0'
30+
31+ // rxjava
32+ provided ' io.reactivex.rxjava2:rxandroid:2.0.1'
33+
34+ // retrofit
35+ provided ' com.squareup.retrofit2:retrofit:2.2.0'
36+ provided ' com.squareup.retrofit2:converter-gson:2.2.0'
37+ provided ' com.squareup.retrofit2:adapter-rxjava2:2.2.0'
38+
39+ provided ' com.esotericsoftware:kryo:4.0.0'
3640}
0 commit comments