jannis
04/20/2022, 1:51 PMUnresolved reference: versionCatalogs
However everything works fine besides this error. I can build my (android) app without any other problems. The CLI never reports this error. Someone has an idea how to solve this?
This is my settings.gradle.kts
file within the composite build:
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
}
}
}
I'm using the latest stable Gradle Version (7.4.2)Vampire
04/20/2022, 2:22 PMJavier
04/20/2022, 2:23 PMVampire
04/20/2022, 2:24 PMJavier
04/20/2022, 2:24 PMVampire
04/20/2022, 2:25 PMbuildSrc
but uses a composite build. And again, I think I know what his problem is and a work-around, just want to verify firstVampire
04/20/2022, 2:37 PMjannis
04/21/2022, 1:44 PMjannis
04/21/2022, 1:55 PMcreate a gradle wrapper properties file for the included build
. Where exactly should I put it?
I tried {compositeBuildFolder}/gradle/wrapper/gradle-wrapper.properties
but it doesn't work.Vampire
04/21/2022, 1:57 PMjannis
04/21/2022, 1:57 PMjannis
04/21/2022, 1:57 PMVampire
04/21/2022, 1:58 PMjannis
04/21/2022, 1:58 PMVampire
04/21/2022, 1:59 PMjannis
04/21/2022, 1:59 PMclean build
. So there is another usecase π
Vampire
04/21/2022, 2:00 PMVampire
04/21/2022, 2:00 PMclean
to get a reliable build result, there is a bug in your build scripts. Gradle is not Maven. π There it was more or less mandatory to always also execute clean
to get reliable resultsjannis
04/21/2022, 2:01 PMjannis
04/21/2022, 2:02 PMVampire
04/21/2022, 2:03 PMjannis
04/21/2022, 2:04 PMjannis
04/21/2022, 2:04 PMjannis
04/21/2022, 2:04 PMVampire
04/21/2022, 2:04 PM