El Zhang
03/15/2023, 2:18 PMSlackbot
03/15/2023, 3:06 PMSlackbot
03/15/2023, 4:29 PMSlackbot
03/15/2023, 5:51 PMSlackbot
03/15/2023, 11:41 PMSlackbot
03/16/2023, 7:30 AMSlackbot
03/16/2023, 9:30 PMSlackbot
03/17/2023, 9:49 AMSlackbot
03/17/2023, 2:45 PMSlackbot
03/17/2023, 4:59 PMSlackbot
03/17/2023, 6:04 PMSlackbot
03/17/2023, 9:39 PMSlackbot
03/18/2023, 3:08 PMSlackbot
03/19/2023, 2:20 PMSlackbot
03/20/2023, 3:29 AMSlackbot
03/20/2023, 8:22 AMSlackbot
03/20/2023, 6:26 PMSlackbot
03/20/2023, 7:26 PMSlackbot
03/20/2023, 7:54 PMSlackbot
03/21/2023, 6:18 PMSebastian Schuberth
03/22/2023, 8:07 AMresolvedVariant.attributes.getAttribute(Category.CATEGORY_ATTRIBUTE)
in a Gradle plugin written in Kotlin returns null
whereas using resolvedVariant.attributes.getAttribute(Attribute.of("org.gradle.category", String::class.java))
succeeds. Is it expected that the category attribute seems to lose its dedicated type and "coerces" to String?Matthew Inger
03/22/2023, 3:53 PMgradle.settingsEvaluated
block as well. I would think the getByName
would fail if that handn’t been applied yet. However, I don’t see the actual version getting changed when doing it this way.
gradle.settingsEvaluated {
dependencyResolutionManagement {
versionCatalogs {
getByName("internalLibs") {
library("alias", "group:artifact:version"")
}
}
}
}
Slackbot
03/22/2023, 8:21 PMSlackbot
03/23/2023, 8:37 AMSlackbot
03/23/2023, 10:51 AMSlackbot
03/23/2023, 5:45 PMSlackbot
03/23/2023, 6:21 PMSlackbot
03/23/2023, 7:54 PMSlackbot
03/23/2023, 7:55 PMSlackbot
03/23/2023, 9:30 PM