This message was deleted.
# configuration-cache
s
This message was deleted.
e
a function declared like that is in project scope, which means it can't be used with configuration caching. I'm not sure if it's possible to avoid that in the Groovy DSL. try the Kotlin DSL or a binary plugin instead.
j
wait, so there is no way to declare a function in groovy when using configuration caching? o.O
exposing variables seems to be working when using the ext {} block but I can’t seem to get it work with methods
e
defining a class - or a proper task subclass - may work
1