Skip to content

Commit 2d08203

Browse files
committed
Fix build issue & update minSdk version
1 parent 11f241f commit 2d08203

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111
compileSdkVersion(28)
1212
defaultConfig {
1313
targetSdkVersion(28)
14-
minSdkVersion(16)
14+
minSdkVersion(21)
1515
applicationId = "cn.nekocode.gank"
1616
versionCode = 1
1717
versionName = "1.0"

backend/build.gradle.kts

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

2424
// Network
25-
api("com.squareup.okhttp3:okhttp:3.14.1")
25+
api("com.squareup.okhttp3:okhttp:3.12.3")
2626
api("com.google.code.gson:gson:2.8.4")
2727
implementation("com.squareup.retrofit2:retrofit:2.5.0")
2828
implementation("com.squareup.retrofit2:converter-gson:2.5.0")

0 commit comments

Comments
 (0)