Hi all! I'm trying to figure how to share function...
# gradle
j
Hi all! I'm trying to figure how to share functions in multi-project builds. With groovy based gradle scripts, this is as simple as that: Parent build.gradle:
Copy code
void hello() {
        println "Hello World!"
}
Child build.gradle:
Copy code
// Will print Hello World when gradle is invoked
hello()
This no longer works for kotlin based build scripts, the method reference is just considered as undefined. Any idea how can I best fill this gap? Should I raise an issue for such use case?