File1.groovy
def method() {
println "test"
}
File2.groovy
method()
I want to load/include the functions/methods from File1.groovy during runtime, equals to rubys/rake's load. They are in two different directories.
question from:https://stackoverflow.com/questions/9004303/load-script-from-groovy-script