cupello
2014-02-14 00:18:23 UTC
Given two files:
build.gradle with :
aplly from: main.gradle
task someTask << {
myMainMethod()
}
main.gradle with:
def myMainMethod(){
println "Main Method"
}
Why does this not work? Why did the file build.gradle not see my method?
--
View this message in context: http://gradle.1045684.n5.nabble.com/Call-some-function-from-another-gradle-file-tp5712293.html
Sent from the gradle-user mailing list archive at Nabble.com.
build.gradle with :
aplly from: main.gradle
task someTask << {
myMainMethod()
}
main.gradle with:
def myMainMethod(){
println "Main Method"
}
Why does this not work? Why did the file build.gradle not see my method?
--
View this message in context: http://gradle.1045684.n5.nabble.com/Call-some-function-from-another-gradle-file-tp5712293.html
Sent from the gradle-user mailing list archive at Nabble.com.