Matti Mäki-Kihniä
10/31/2024, 12:54 PMsettings.gradle.kts
to settings.gradle.dcl
and everything still works fine. However, I get a sync error when I try to add a default
for a software type in my setting.gradle.dcl
.
I get the following exception:
Failures in resolution:
19:1: unresolved function call signature for 'defaults'
Where it's pointing to the defaults
block:
defaults {
androidApplication {
compileSdk = 34
}
If I remove the above block, everything works fine. I've not converted any other files thus far.Paul Merlin
10/31/2024, 1:12 PMPaul Merlin
10/31/2024, 1:13 PMMatti Mäki-Kihniä
10/31/2024, 1:13 PMMatti Mäki-Kihniä
10/31/2024, 1:14 PMdistributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
The declarative sample
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-8.12-20241024175615+0000-bin.zip
I'll give the same wrapper version a go 👍Paul Merlin
10/31/2024, 1:14 PMMatti Mäki-Kihniä
10/31/2024, 1:17 PMPaul Merlin
10/31/2024, 1:18 PMMatti Mäki-Kihniä
10/31/2024, 1:40 PMThe project is using an incompatible version (AGP 8.7.1) of the Android Gradle plugin. Latest supported version is AGP 8.7.0-alpha03I guess 8.7.0-alpha03 is the maximum for
Android Studio Ladybug | 2024.1.3 Nightly 2024-07-26
? I tried a newer nightly, but it didn't have the declarative configuration option under Studio Flags.
I am guessing AGP 8.7.1.
is pulled from the androidApplication
software type?Paul Merlin
10/31/2024, 1:42 PMMatti Mäki-Kihniä
10/31/2024, 2:08 PM0.1.15
, .19
and some versions > .20
.
Is there a table or another way to decipher which versions work together? Or which version does the plugin apply?Matti Mäki-Kihniä
10/31/2024, 2:11 PMid("org.gradle.experimental.android-ecosystem").version("0.1.17")
-> Unsupported method: Variant.getExperimentalProperties().
And after 0.1.18
its the same as above, incompatible AGPPaul Merlin
10/31/2024, 2:52 PMmain
branch https://github.com/gradle/declarative-samples-android-app requires a more recent build of Studio. Gimme a momentPaul Merlin
10/31/2024, 3:39 PMMatti Mäki-Kihniä
10/31/2024, 4:04 PMPaul Merlin
10/31/2024, 4:24 PMMatti Mäki-Kihniä
11/05/2024, 11:30 AMPaul Merlin
11/05/2024, 11:30 AMMatti Mäki-Kihniä
11/05/2024, 11:31 AMPaul Merlin
11/05/2024, 4:45 PMPaul Merlin
11/05/2024, 4:47 PMPaul Merlin
11/05/2024, 5:02 PMMatti Mäki-Kihniä
11/07/2024, 12:55 PM