Does anyone know where is AGP version mapping to b...
# android
u
Does anyone know where is AGP version mapping to build tools version? I have a CI docker image with 30.0.2 build tools, and the latest stable AGP 4.1.2 only uses 29.x.y.
a
SdkVersion 29 use builtool version 29.x.y and sdk version 30 uses 30.x.y
u
agp dictates buildtools version implicitly
­čĹŹ 1
I have compileSdk to 30 everywhere, and yet if I run it on CI, I see it installing bt 29.1.2 since only 30.0.2 is baked into the image
a
You can always override the version of build tools used by specifying
android.buildToolsVersion
.
u
Yea I know but its annying, why wont latest stable plugin point to latest stable tools, weird
a
Because the default version of build tools is the minimum required version and when the development of AGP 4.1 started, build tools 30 was not yet available.
Btw, the version mapping can be found here: https://developer.android.com/studio/releases/gradle-plugin
u
thanks, odd nonetheless