https://kotlinlang.org logo
#dsl
Title
# dsl
m

Marco Pierucci

02/23/2024, 12:47 PM
👋 Is there a safe approach at accessing version catalog
libs
notation within convention plugins? I've seen some using
val libs = the<LibrariesForLibs>()
But as per https://github.com/gradle/gradle/issues/19813 thats not intended
g

gildor

03/04/2024, 8:20 AM
Yes, it's not intended, there is no official way to use type-safe accessors, only using manual resolution by string But we use the same workaround for long time and have no issues