efemoney
02/23/2024, 10:43 AMVampire
02/23/2024, 10:57 AMVampire
02/23/2024, 10:58 AMefemoney
02/23/2024, 10:58 AMVampire
02/23/2024, 10:59 AMefemoney
02/23/2024, 10:59 AMVampire
02/23/2024, 11:02 AMVampire
02/23/2024, 11:07 AMefemoney
02/23/2024, 11:09 AMJust set the attribute to 8.5 and you get that.Ah yeah I get it now. Didn’t know we could set that ourselves
Vampire
02/23/2024, 11:09 AMVampire
02/23/2024, 11:09 AMVampire
02/23/2024, 11:10 AMVampire
02/23/2024, 11:10 AMefemoney
02/23/2024, 11:11 AMVampire
02/23/2024, 11:11 AMVampire
02/23/2024, 11:12 AMoutgoingVariants task which variants are going to be published and whether they are like needed.Vampire
02/23/2024, 11:19 AMconfigurations.apiElements {
attributes {
attribute(GRADLE_PLUGIN_API_VERSION_ATTRIBUTE, objects.named("8.5"))
}
}
configurations.runtimeElements {
attributes {
attribute(GRADLE_PLUGIN_API_VERSION_ATTRIBUTE, objects.named("8.5"))
}
}efemoney
02/23/2024, 11:20 AMoutgoingVariants ? 🤔)efemoney
02/23/2024, 11:23 AMVampire
02/23/2024, 11:25 AMVampire
02/23/2024, 11:25 AMjava pluginVampire
02/23/2024, 11:26 AMefemoney
02/23/2024, 11:26 AMVampire
02/23/2024, 11:26 AMVampire
02/23/2024, 11:27 AMor better put, how would I have figured out what configurations to put this on?You could also use
configurations.matching { it.isCanBeConsumed } .configureEach { ... } but imho that is too big a hammer, as it also sets it then on javadoc, sources, and so on and there is not really a reason to set the attribute on those