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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user