Apply Kotlin 2.2.21 compose plugin; drop composeOptions block
Browse files- app/build.gradle.kts +3 -3
app/build.gradle.kts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
plugins {
|
| 2 |
id("com.android.application")
|
| 3 |
id("org.jetbrains.kotlin.android")
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
android {
|
|
@@ -33,14 +34,13 @@ android {
|
|
| 33 |
buildFeatures {
|
| 34 |
compose = true
|
| 35 |
}
|
| 36 |
-
composeOptions {
|
| 37 |
-
kotlinCompilerExtensionVersion = "1.5.14"
|
| 38 |
-
}
|
| 39 |
}
|
| 40 |
|
| 41 |
dependencies {
|
| 42 |
// GeckoView stable channel. Bump to the newest version string from:
|
| 43 |
// https://maven.mozilla.org/maven2/org/mozilla/geckoview/
|
|
|
|
|
|
|
| 44 |
implementation("org.mozilla.geckoview:geckoview:147.0.20260212191108")
|
| 45 |
|
| 46 |
implementation(platform("androidx.compose:compose-bom:2024.09.03"))
|
|
|
|
| 1 |
plugins {
|
| 2 |
id("com.android.application")
|
| 3 |
id("org.jetbrains.kotlin.android")
|
| 4 |
+
id("org.jetbrains.kotlin.plugin.compose")
|
| 5 |
}
|
| 6 |
|
| 7 |
android {
|
|
|
|
| 34 |
buildFeatures {
|
| 35 |
compose = true
|
| 36 |
}
|
|
|
|
|
|
|
|
|
|
| 37 |
}
|
| 38 |
|
| 39 |
dependencies {
|
| 40 |
// GeckoView stable channel. Bump to the newest version string from:
|
| 41 |
// https://maven.mozilla.org/maven2/org/mozilla/geckoview/
|
| 42 |
+
// Note: this AAR pulls kotlin-stdlib 2.2.x — keep the Kotlin Gradle
|
| 43 |
+
// plugin version in the root build.gradle.kts in sync with it.
|
| 44 |
implementation("org.mozilla.geckoview:geckoview:147.0.20260212191108")
|
| 45 |
|
| 46 |
implementation(platform("androidx.compose:compose-bom:2024.09.03"))
|