This message was deleted.
# community-support
s
This message was deleted.
v
Sure, don't have that plugin in
build-logic
, but another build that you then include from both,
build-logic
and main build and apply it to both settings scripts.
j
I’ve tried that, I have build-logic and build-versions and then applied build-versions in both the root settings.gradle.kts and the build-logic/settings.gradle.kts. But then get errors in all the precompiled scripts in build-logic that things like
android
are undefined as if I haven’t set up the dependencies in the build-logic/build.gradle.kts (the precompiled scripts configure the conventions I use in my project like setting the android sdk version)
in the two setting.gradle.kts im doing
pluginManagement { includeBuild(“build-versions”) }
Is that the correct way to apply it in the settings?
v
That does not apply it, it just includes it, you still need to apply it.
j
Ah yeah sorry and then do
plugins { id(“versionCatalog”) }
outside the pluginManagement block
v
Yep, that should then be enough. If then something behaves funky, I fear you need to provide an MCVE
j
Thanks! I’ll get to making one
👌 1