Hello,

This mailing list is no longer actively used.

Would you mind posting your question to http://forums.gradle.org?

cupello <mailto:[email protected]>
14 February 2014 10:18 am
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.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to