This message was deleted.
# community-support
s
This message was deleted.
e
Do you mean “not using”
buildSrc
?You can alternatively use an independent module and apply it via Composite Build instead of tightly coupling with
buildSrc
which does not share across different projects.
But indeed, the above solution is same as what you did in
buildSrc
to export a top-level function.
project.extra["aFunc"] = fun(...) {...}
may be another option which you can use in root build.gradle.kts.
t
Yes, I want to avoid
buildSrc
if possible. Storing the reference in
extra
works. Thank you!! But it looks weird ,)