Hardik Nanda
06/27/2024, 10:16 AMlibraries.gradle , and are imported to build.gradle using `apply from: `libraries.gradle`` . However, when I try to generate the lockfile for the project using ./gradlew --write-locks dependencies , the gradle.lockfile doesn't include the dependencies.
Is there any alternative way that can be used to include dependencies?Vampire
06/27/2024, 10:31 AMHardik Nanda
06/27/2024, 10:35 AMHardik Nanda
06/27/2024, 10:36 AMbuild.gradle file before generating lock file that'll make sure of all the dependencies getting included in the lockfile?Niels Doucet
06/27/2024, 10:37 AMHardik Nanda
07/10/2024, 8:49 AMNiels Doucet
07/10/2024, 8:53 AMexample 5 gives a task action that resolves all dependencies when writing lockfiles:
configurations.filter {
// Add any custom filtering on the configurations to be resolved
it.isCanBeResolved
}.forEach { it.resolve() }Hardik Nanda
07/11/2024, 9:25 AMNiels Doucet
07/11/2024, 9:27 AMHardik Nanda
07/11/2024, 10:39 AMproject.ext block in another file. I think there's some co-relation, not sure.Vampire
07/11/2024, 10:47 AM