Skip to content

Commit 4c7e2d8

Browse files
committed
Support latest stable version of Android Studio
Downgrade AGP to 8.13.0 and set the Kotlin version.
1 parent 084912a commit 4c7e2d8

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

app/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44
alias(libs.plugins.kotlin.serialization)
55
id("org.jlleitschuh.gradle.ktlint")
66
id("io.gitlab.arturbosch.detekt")
7+
alias(libs.plugins.kotlin.android)
78
}
89

910
android {
@@ -41,6 +42,9 @@ android {
4142
compose = true
4243
buildConfig = true
4344
}
45+
kotlinOptions {
46+
jvmTarget = "11"
47+
}
4448
}
4549

4650
detekt {

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ plugins {
44
alias(libs.plugins.kotlin.compose) apply false
55
id("org.jlleitschuh.gradle.ktlint") version "13.1.0" apply false
66
id("io.gitlab.arturbosch.detekt") version "1.23.8" apply false
7+
alias(libs.plugins.kotlin.android) apply false
78
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
agp = "9.0.0-alpha08"
2+
agp = "8.13.0"
33
coreKtx = "1.17.0"
44
junit = "4.13.2"
55
junitVersion = "1.3.0"

0 commit comments

Comments
 (0)