Skip to content

Commit bd05170

Browse files
authored
Bump agp version (#43)
* Bumping AGP to 9.0.0 * Using java toolchain
1 parent 757d79b commit bd05170

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
22

33
plugins {
44
id("com.android.application")
5-
id("org.jetbrains.kotlin.android")
65
id("co.elastic.otel.android.agent") version "1.5.0"
76
id("co.elastic.otel.android.instrumentation.okhttp") version "1.5.0"
87
}
@@ -24,17 +23,13 @@ android {
2423
signingConfig = signingConfigs["debug"]
2524
}
2625
}
27-
compileOptions {
28-
sourceCompatibility = JavaVersion.VERSION_1_8
29-
targetCompatibility = JavaVersion.VERSION_1_8
30-
}
3126
buildFeatures {
3227
viewBinding = true
3328
}
3429
}
3530
kotlin {
3631
compilerOptions {
37-
jvmTarget.set(JvmTarget.JVM_1_8)
32+
jvmToolchain(11)
3833
}
3934
}
4035

build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
22
alias(libs.plugins.androidApp) apply false
33
alias(libs.plugins.androidLib) apply false
4-
alias(libs.plugins.kotlin.android) apply false
54
id("com.diffplug.spotless") version "8.1.0"
65
}
76

gradle/libs.versions.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[versions]
2-
android = "8.13.2"
3-
kotlin = "2.3.0"
2+
android = "9.0.0"
43
navigation = "2.9.6"
54
retrofit = "3.0.0"
65

@@ -13,4 +12,3 @@ retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit
1312
[plugins]
1413
androidApp = { id = "com.android.application", version.ref = "android" }
1514
androidLib = { id = "com.android.library", version.ref = "android" }
16-
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }

0 commit comments

Comments
 (0)