Build release with build tools from SDK 36 and add a not to not forget last time we update the value of COMPILE_SDK

This commit is contained in:
Benoit Marty
2025-08-14 14:31:22 +02:00
parent e278dd5995
commit 08f869c6f9
2 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ object Versions {
const val VERSION_CODE = (2000 + versionYear) * 10_000 + versionMonth * 100 + versionReleaseNumber
val VERSION_NAME = "$versionYear.${versionMonth.toString().padStart(2, '0')}.$versionReleaseNumber"
// When updating COMPILE_SDK, please do not forget to update the value for `buildToolsVersion`
// in the file `tools/release/release.sh`
const val COMPILE_SDK = 36
const val TARGET_SDK = 36

View File

@@ -64,7 +64,7 @@ fi
# Read minSdkVersion from file plugins/src/main/kotlin/Versions.kt
minSdkVersion=$(grep "MIN_SDK_FOSS =" ./plugins/src/main/kotlin/Versions.kt |cut -d '=' -f 2 |xargs)
buildToolsVersion="35.0.0"
buildToolsVersion="36.0.0"
buildToolsPath="${androidHome}/build-tools/${buildToolsVersion}"
if [[ ! -d ${buildToolsPath} ]]; then