File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 * Updated Gradle to 8.13 ([ #3074 ] ( https://github.com/mozilla/glean/pull/3080 ) )
1010 * Updated to Android NDK 28 and SDK 35 ([ #3074 ] ( https://github.com/mozilla/glean/pull/3080 ) )
1111 * Updated Kotlin to version 2.1.10 ([ #3074 ] ( https://github.com/mozilla/glean/pull/3080 ) )
12+ * Updated Android Gradle Plugin to 8.8.2 ([ #3074 ] ( https://github.com/mozilla/glean/pull/3080 ) )
1213* Rust
1314 * Report more desktop architectures in ` client_info.architecture ` ([ bug 1944694] ( https://bugzilla.mozilla.org/show_bug.cgi?id=1944694 ) )
1415
Original file line number Diff line number Diff line change @@ -120,19 +120,8 @@ subprojects {
120120
121121 // Kotlin settings applicable to all modules.
122122 afterEvaluate {
123- if (it. hasProperty(' android' )) {
124- android {
125- // This shouldn't be needed anymore with AGP 8.1.0+
126- // https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support
127- compileOptions {
128- sourceCompatibility rootProject. ext. build. jvmTargetCompatibility
129- targetCompatibility rootProject. ext. build. jvmTargetCompatibility
130- }
131- }
132- }
133123 tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). all {
134124 kotlinOptions. allWarningsAsErrors = true
135- kotlin. jvmToolchain(rootProject. ext. build. jvmTargetCompatibility)
136125 }
137126 }
138127
Original file line number Diff line number Diff line change 88import groovy.json.JsonOutput
99
1010apply plugin : ' com.android.library'
11+ apply plugin : ' kotlin-android'
1112apply plugin : ' org.mozilla.rust-android-gradle.rust-android'
1213
14+ kotlin {
15+ jvmToolchain(rootProject. ext. build. jvmTargetCompatibility)
16+ }
17+
1318android {
1419 namespace " mozilla.telemetry.glean_native"
1520
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ File GLEAN_PING_SCHEMA_PATH = file("$rootDir/glean.1.schema.json")
2828ext. allowGleanInternal = true
2929ext. gleanNamespace = " mozilla.telemetry.glean"
3030
31+ kotlin {
32+ jvmToolchain(rootProject. ext. build. jvmTargetCompatibility)
33+ }
34+
3135android {
3236 compileSdkVersion rootProject. ext. build. compileSdkVersion
3337 namespace " mozilla.telemetry.glean"
@@ -96,6 +100,10 @@ android {
96100 }
97101}
98102
103+ kotlin {
104+ jvmToolchain(rootProject. ext. build. jvmTargetCompatibility)
105+ }
106+
99107afterEvaluate {
100108 if (project. hasProperty(" coverage" )) {
101109 jacoco {
Original file line number Diff line number Diff line change @@ -23,4 +23,3 @@ libLicense=MPL-2.0
2323libLicenseUrl =https://www.mozilla.org/en-US/MPL/2.0/
2424
2525android.useAndroidX =true
26- android.experimental.lint.version =8.3.0
Original file line number Diff line number Diff line change 55
66[versions ]
77# AGP
8- android-plugin = " 8.0 .2"
8+ android-plugin = " 8.8 .2"
99
1010# Kotlin
1111kotlin-compiler = " 2.1.10"
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ apply plugin: 'com.android.application'
1010apply plugin : ' kotlin-android'
1111apply plugin : ' kotlinx-serialization'
1212
13+ kotlin {
14+ jvmToolchain(rootProject. ext. build. jvmTargetCompatibility)
15+ }
16+
1317android {
1418 namespace " org.mozilla.samples.gleancore"
1519 compileSdkVersion rootProject. ext. build. compileSdkVersion
You can’t perform that action at this time.
0 commit comments