File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,10 @@ object Versions {
38
38
const val VERSION_CODE = (2000 + versionYear) * 10_000 + versionMonth * 100 + versionReleaseNumber
39
39
val VERSION_NAME = " $versionYear .${versionMonth.toString().padStart(2 , ' 0' )} .$versionReleaseNumber "
40
40
41
- // When updating COMPILE_SDK, please do not forget to update the value for `buildToolsVersion`
42
- // in the file `tools/release/release.sh`
41
+ // When updating COMPILE_SDK, please also update BUILD_TOOLS_VERSION
43
42
const val COMPILE_SDK = 36
43
+ @Suppress(" unused" )
44
+ private const val BUILD_TOOLS_VERSION = " 36.0.0"
44
45
const val TARGET_SDK = 36
45
46
46
47
// When updating the `minSdk`, make sure to update the value of `minSdkVersion` in the file `tools/release/release.sh`
Original file line number Diff line number Diff line change 64
64
65
65
# Read minSdkVersion from file plugins/src/main/kotlin/Versions.kt
66
66
minSdkVersion=$( grep " MIN_SDK_FOSS =" ./plugins/src/main/kotlin/Versions.kt | cut -d ' =' -f 2 | xargs)
67
- buildToolsVersion=" 36.0.0"
67
+ # Read buildToolsVersion from file plugins/src/main/kotlin/Versions.kt
68
+ buildToolsVersion=$( grep " BUILD_TOOLS_VERSION =" ./plugins/src/main/kotlin/Versions.kt | cut -d ' =' -f 2 | xargs)
68
69
buildToolsPath=" ${androidHome} /build-tools/${buildToolsVersion} "
69
70
70
71
if [[ ! -d ${buildToolsPath} ]]; then
You can’t perform that action at this time.
0 commit comments