Slackbot
09/22/2022, 12:21 PMVampire
09/22/2022, 2:21 PMJavi
09/22/2022, 2:44 PMcreate
and it works, but looks like a bug to meVampire
09/22/2022, 3:12 PMgrossws
09/22/2022, 4:13 PMgradle/libs.versions.toml
file exists? IIRC when it exists create will fail.
You could use maybeCreate("libs").configure { ... }
.Vampire
09/22/2022, 4:28 PMJavi
09/22/2022, 4:29 PMgrossws
09/22/2022, 4:37 PMVampire
09/22/2022, 4:39 PMgrossws
09/22/2022, 4:42 PMJavi
09/22/2022, 4:47 PMLouis Jacomet
09/28/2022, 9:04 AMcreate
for your use case
but do you have to also explicitly do the from
then?
If not, please file an issue as it makes no sense.
If you have to do the from
yourself, then you can see the default libs
as being a convention, and any change you want to make to it forces your to be fully explicit.Vampire
09/28/2022, 9:13 AMcreate
to be able to access / modify even the default libs
.
If you use create
and also add a from
you get an exception that you must not call from
multiple times even if you only called it once and even if you just specify the convention file again (I already opened an issue for this in the past).Vampire
09/28/2022, 9:14 AMJavi
09/28/2022, 12:21 PM