@@ -10,19 +10,19 @@ plugins {
1010android {
1111 compileSdkVersion(28 )
1212 defaultConfig {
13- applicationId = " cn.nekocode.gank"
14- minSdkVersion(16 )
1513 targetSdkVersion(28 )
14+ minSdkVersion(16 )
15+ applicationId = " cn.nekocode.gank"
1616 versionCode = 1
1717 versionName = " 1.0"
1818
19- val SCHEME = " gank"
19+ val scheme = " gank"
2020
21- buildConfigField(" String" , " SCHEME" , " \" ${ SCHEME } \" " )
21+ buildConfigField(" String" , " SCHEME" , " \" $scheme \" " )
2222
2323 manifestPlaceholders = mapOf (
2424 " APPLICATION_ID" to applicationId,
25- " SCHEME" to SCHEME
25+ " SCHEME" to scheme
2626 )
2727 }
2828 buildTypes {
@@ -41,24 +41,21 @@ dependencies {
4141 implementation(kotlin(" stdlib-jdk7" , KotlinCompilerVersion .VERSION ))
4242
4343 // Android support libraries
44- val SUPPORT_VERSION = " 28.0.0"
45- implementation(" com.android.support:appcompat-v7:$SUPPORT_VERSION " )
46- implementation(" com.android.support:recyclerview-v7:$SUPPORT_VERSION " )
47- implementation(" com.android.support:support-annotations:$SUPPORT_VERSION " )
44+ implementation(" com.android.support:appcompat-v7:28.0.0" )
45+ implementation(" com.android.support:recyclerview-v7:28.0.0" )
46+ implementation(" com.android.support:support-annotations:28.0.0" )
4847 implementation(" com.android.support.constraint:constraint-layout:1.1.3" )
4948
5049 // ReactiveX
5150 implementation(" io.reactivex.rxjava2:rxjava:2.2.2" )
5251 implementation(" io.reactivex.rxjava2:rxandroid:2.1.0" )
53- val AUTO_DISPOSE_VERSION = " 0.8.0"
54- implementation(" com.uber.autodispose:autodispose:$AUTO_DISPOSE_VERSION " )
55- implementation(" com.uber.autodispose:autodispose-android:$AUTO_DISPOSE_VERSION " )
56- implementation(" com.uber.autodispose:autodispose-android-archcomponents:$AUTO_DISPOSE_VERSION " )
52+ implementation(" com.uber.autodispose:autodispose:0.8.0" )
53+ implementation(" com.uber.autodispose:autodispose-android:0.8.0" )
54+ implementation(" com.uber.autodispose:autodispose-android-archcomponents:0.8.0" )
5755
5856 // Others
5957 implementation(" com.squareup.picasso:picasso:2.5.2" )
6058 implementation(" com.github.nekocode:Meepo:0.3" )
61- val STATE_VERSION = " 1.3.1"
62- implementation(" com.evernote:android-state:$STATE_VERSION " )
63- kapt(" com.evernote:android-state-processor:$STATE_VERSION " )
59+ implementation(" com.evernote:android-state:1.3.1" )
60+ kapt(" com.evernote:android-state-processor:1.3.1" )
6461}
0 commit comments