Skip to content

Commit c1fe109

Browse files
committed
Update dependencies
The built-in kotlin support of AGP 9.0 is not compatible with ktfmt-gradle. We shouldn't upgrade it before the following commit appears in new release: cortinico/ktfmt-gradle@36d9ad9
1 parent 1e4cb88 commit c1fe109

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

app/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
android {
8-
compileSdk = 34
8+
compileSdk = 35
99
namespace = "org.matrix.chromext"
1010

1111
defaultConfig {
@@ -44,8 +44,6 @@ android {
4444
"UnspecifiedRegisterReceiverFlag",
4545
"Usability:Icons")
4646
}
47-
48-
kotlinOptions { jvmTarget = JavaVersion.VERSION_21.toString() }
4947
}
5048

5149
dependencies { compileOnly("de.robv.android.xposed:api:82") }

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import com.ncorti.ktfmt.gradle.tasks.KtfmtFormatTask
33
plugins {
44
id("com.android.application") version "8.9.0" apply false
55
id("org.jetbrains.kotlin.android") version "2.1.20" apply false
6-
id("com.ncorti.ktfmt.gradle") version "0.22.0"
6+
id("com.ncorti.ktfmt.gradle") version "0.25.0"
77
}
88

99
tasks.register<KtfmtFormatTask>("format") {

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
# android.enableJetifier=true
2020
# Kotlin code style for this project: "official" or "obsolete":
2121
kotlin.code.style=official
22+
android.builtInKotlin=false

0 commit comments

Comments
 (0)