Skip to content

Commit

Permalink
build: update build tool version
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Dec 13, 2023
1 parent 50e109a commit c9390e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-logic/convention/src/main/kotlin/Version.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ object Version {
}

private fun findBuildToolsVersion(): String {
val defaultBuildToolsVersion = "33.0.2" // 33.0.0 AIDL is broken on Windows
val defaultBuildToolsVersion = "34.0.0" // AGP 8.2.0 need Build Tools 34.0.0
return File(System.getenv("ANDROID_HOME"), "build-tools").listFiles()?.filter { it.isDirectory }?.maxOfOrNull { it.name }?.also { println("Using build tools version $it") }
?: defaultBuildToolsVersion
}
Expand Down

0 comments on commit c9390e8

Please sign in to comment.