Slackbot
04/12/2023, 9:30 PMVampire
04/12/2023, 11:11 PMcomponents {
withModule("com.android.tools.build:gradle") {
withVariant("apiElements") {
attributes {
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
}
}
withVariant("runtimeElements") {
attributes {
attribute(Attribute.of(String::class.java), "foo")
}
}
}
}
?
I'm not sure whether that is a good idea 😄twisterrob
04/13/2023, 8:37 AMtwisterrob
04/13/2023, 8:39 AMapi
, but recently they moved a ton of it on `implementation`/`runtimeOnly` internally. When you're navigating their code, and wanting to find an implementation of an interface, correctness doesn't matter much...)