Skip to content

Commit 976beff

Browse files
committed
Build release with build tools from SDK 36 and add a not to not forget last time we update the value of COMPILE_SDK
1 parent f290c9c commit 976beff

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

plugins/src/main/kotlin/Versions.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ object Versions {
3838
const val VERSION_CODE = (2000 + versionYear) * 10_000 + versionMonth * 100 + versionReleaseNumber
3939
val VERSION_NAME = "$versionYear.${versionMonth.toString().padStart(2, '0')}.$versionReleaseNumber"
4040

41+
// When updating COMPILE_SDK, please do not forget to update the value for `buildToolsVersion`
42+
// in the file `tools/release/release.sh`
4143
const val COMPILE_SDK = 36
4244
const val TARGET_SDK = 36
4345

tools/release/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fi
6464

6565
# Read minSdkVersion from file plugins/src/main/kotlin/Versions.kt
6666
minSdkVersion=$(grep "MIN_SDK_FOSS =" ./plugins/src/main/kotlin/Versions.kt |cut -d '=' -f 2 |xargs)
67-
buildToolsVersion="35.0.0"
67+
buildToolsVersion="36.0.0"
6868
buildToolsPath="${androidHome}/build-tools/${buildToolsVersion}"
6969

7070
if [[ ! -d ${buildToolsPath} ]]; then

0 commit comments

Comments
 (0)