Join Slack
Powered by
I updated Gradle to 6.0.1 and now in the root fold...
# gradle
j
Javier
01/06/2020, 10:51 PM
I updated Gradle to 6.0.1 and now in the root folder my settings.gradle.kts can't use my objects inside buildSrc... any way to fix it?
o
octylFractal
01/06/2020, 10:53 PM
intended,
https://docs.gradle.org/current/userguide/upgrading_version_5.html#classes_from_buildsrc_are_no_longer_visible_to_settings_scripts
j
Javier
01/06/2020, 10:55 PM
@octylFractal
any workarround? I was adding all my modules as list in buildSrc so in settings they were added automatically
o
octylFractal
01/06/2020, 10:56 PM
don't know of any
j
Javier
01/06/2020, 10:59 PM
is there no way to read an object from settings in buildSrc
g
gildor
01/09/2020, 11:31 PM
There are no direct workarounds yet, only if you add plugin to buildSrc and to settings.gradle.kts
j
Javier
01/10/2020, 12:49 AM
I will take a look to this approach, thank you
@gildor
3
Views
Open in Slack
Previous
Next