Skip to content

Commit 11f241f

Browse files
committed
Update versions
1 parent f4d02ae commit 11f241f

File tree

2 files changed

+18
-22
lines changed

2 files changed

+18
-22
lines changed

app/build.gradle.kts

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ plugins {
1010
android {
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
}

backend/build.gradle.kts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ plugins {
88
android {
99
compileSdkVersion(28)
1010
defaultConfig {
11-
minSdkVersion(16)
1211
targetSdkVersion(28)
12+
minSdkVersion(16)
1313
consumerProguardFiles("proguard-rules.pro")
1414
}
1515
}
@@ -22,12 +22,11 @@ dependencies {
2222
implementation(kotlin("stdlib-jdk7", KotlinCompilerVersion.VERSION))
2323

2424
// Network
25-
api("com.squareup.okhttp3:okhttp:3.11.0")
25+
api("com.squareup.okhttp3:okhttp:3.14.1")
2626
api("com.google.code.gson:gson:2.8.4")
27-
val RETROFIT_VERSION = "2.4.0"
28-
implementation("com.squareup.retrofit2:retrofit:$RETROFIT_VERSION")
29-
implementation("com.squareup.retrofit2:converter-gson:$RETROFIT_VERSION")
30-
implementation("com.squareup.retrofit2:adapter-rxjava2:$RETROFIT_VERSION")
27+
implementation("com.squareup.retrofit2:retrofit:2.5.0")
28+
implementation("com.squareup.retrofit2:converter-gson:2.5.0")
29+
implementation("com.squareup.retrofit2:adapter-rxjava2:2.5.0")
3130

3231
// ReactiveX
3332
api("io.reactivex.rxjava2:rxjava:2.2.2")

0 commit comments

Comments
 (0)