Skip to content

Commit c20b93d

Browse files
committed
target java 17 for android
1 parent 1b41f06 commit c20b93d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ android {
4848
namespace = "com.adamratzman.spotify"
4949
compileSdk = 30
5050
compileOptions {
51-
sourceCompatibility = JavaVersion.VERSION_11
52-
targetCompatibility = JavaVersion.VERSION_11
51+
sourceCompatibility = JavaVersion.VERSION_17
52+
targetCompatibility = JavaVersion.VERSION_17
5353
}
5454
packaging {
5555
resources.excludes.add("META-INF/*.md") // needed to prevent android compilation errors
5656
}
5757
defaultConfig {
5858
minSdk = 23
59-
targetSdk = 30
59+
targetSdk = 31
6060
setCompileSdkVersion(30)
6161
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
6262
}

0 commit comments

Comments
 (0)