Zach Klippenstein (he/him) [MOD]
02/18/2021, 6:51 PMJavier
02/18/2021, 6:57 PMZach Klippenstein (he/him) [MOD]
02/18/2021, 6:59 PMCould not find androidx.compose:compose-compiler:1.0.0-alpha12.
I was pretty sure that was because the compiler artifact was renamed to androidx.compose.compiler:compiler
, so the plugin is looking for an artifact that doesn’t exist.Zach Klippenstein (he/him) [MOD]
02/18/2021, 7:00 PMLouis Pullen-Freilich [G]
02/18/2021, 7:03 PMZach Klippenstein (he/him) [MOD]
02/18/2021, 7:06 PMLouis Pullen-Freilich [G]
02/18/2021, 7:12 PMsubprojects {
configurations.configureEach {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def group = details.requested.group
def module = details.requested.module.name
def version = details.requested.version
if (group == 'androidx.compose' && module == 'compose-compiler') {
details.useTarget("androidx.compose.compiler:compiler:$version")
}
}
}
}
To force using the new coordinates, not sure if any APIs changed here but this is probably easier than manually applying the pluginZach Klippenstein (he/him) [MOD]
02/18/2021, 7:13 PMLouis Pullen-Freilich [G]
02/18/2021, 7:13 PM