I took a quick attempt at it but AGP 9 is a complex upgrade.
Lots DSL changes in the build.
Some of the plugins don't support AGP 9 yet either which is blocking me atm from going further.
There is also this block that is gone
postprocessing {
isRemoveUnusedCode = true
isObfuscate = false
isOptimizeCode = true
isRemoveUnusedResources = true
proguardFiles("proguard-rules.pro")
}
There is also this
This version of the Baseline Profile Gradle Plugin was tested with versions below Android
Gradle Plugin version Android Gradle Plugin version 9.0.0-alpha01 and it may not work as intended.
Current version is Android Gradle Plugin version 9.0.0.
This warning can be disabled setting the following property:
baselineProfile {
warnings {
maxAgpVersion = false
}
}
Disabling this warning does not work at all.
I recommend waiting with this upgrade for now.
I took a quick attempt at it but AGP 9 is a complex upgrade.
Lots DSL changes in the build.
Some of the plugins don't support AGP 9 yet either which is blocking me atm from going further.
There is also this block that is gone
There is also this
Disabling this warning does not work at all.
I recommend waiting with this upgrade for now.