https://kotlinlang.org logo
Title
h

Harun

05/23/2020, 1:32 PM
Since accessing buildSrc project and its dependencies in settings script is deprecated, is there a way to still access them, or does one have to use Strings instead. Am avoiding to keep using strings while they're already defined in a object inside the buildSrc directory. With gradle below v 6.0 this was working fine but with 6.0 its bringing errors.
c

cristiangm

05/23/2020, 5:19 PM
Settings runs before buildSrc, so, no way
Pablisco published a plugin to add automatically to the settings.gradle all the modules, and generate a .kt at buildSrc with the strings if that's what you are looking for.
h

Harun

05/23/2020, 5:36 PM
Thanks you for the clarification @cristiangm , do you have a link to the plugin so that i can have a look?
c

cristiangm

05/23/2020, 5:53 PM
h

Harun

05/23/2020, 6:16 PM
Awesome thanks 👍