jannis
05/04/2021, 7:28 AMVampire
05/04/2021, 7:35 AMjannis
05/04/2021, 7:39 AMVampire
05/04/2021, 7:56 AMbuildSrc
or an included build in the same project? ...?jannis
05/04/2021, 7:57 AMbuildSrc
file. I defined the catalog in that project within a toml
filejannis
05/04/2021, 7:59 AMsettings.gradle.kts
file:
dependencyResolutionManagement {
versionCatalogs {
create("lib") {
from(files("../gradle/libs.versions.toml"))
}
}
}
Vampire
05/04/2021, 8:03 AMVersionCatalogsExtension
. This is the currently supported "official" way. For that you also do not define the catalog in the buildSrc
settings script, except if you also use it in the build scripts there.
If you want to use the generated accessors, there is a hacky work-around at https://github.com/gradle/gradle/issues/15383jannis
05/04/2021, 8:04 AMjannis
05/04/2021, 8:13 AMVampire
05/04/2021, 8:59 AM