Skip to content

Commit db60cc8

Browse files
rvandermeulenjonalmeida
authored andcommitted
Compile with Android SDK 36.1
1 parent 00a85d7 commit db60cc8

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

app/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,13 @@ import groovy.json.JsonOutput
1818
android {
1919
defaultConfig {
2020
applicationId "org.mozilla.reference.browser"
21+
buildToolsVersion Config.buildToolsVersion
22+
compileSdk {
23+
version = release(Config.compileSdkMajorVersion) {
24+
minorApiLevel = Config.compileSdkMinorVersion
25+
}
26+
}
2127
minSdkVersion Config.minSdkVersion
22-
compileSdk = Config.compileSdkVersion
2328
targetSdkVersion Config.targetSdkVersion
2429
versionCode 1
2530
versionName Config.generateDebugVersionName()

buildSrc/src/main/java/Config.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import java.util.Locale
99

1010
object Config {
1111
// Synchronized build configuration for all modules
12-
const val compileSdkVersion = 36
12+
const val buildToolsVersion = "36.1.0"
13+
const val compileSdkMajorVersion = 36
14+
const val compileSdkMinorVersion = 1
1315
const val minSdkVersion = 26
1416
const val targetSdkVersion = 36
1517
const val jvmTargetCompatibility = 17

0 commit comments

Comments
 (0)