Quantcast

Re: Call some function from another gradle file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Call some function from another gradle file

Luke Daley-2
Hello,

This mailing list is no longer actively used.

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

> cupello <mailto:[hidden email]>
> 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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Call some function from another gradle file

Russel Winder-3
On Fri, 2014-02-14 at 11:08 +1000, Luke Daley wrote:
> Hello,
>
> This mailing list is no longer actively used.

Sadly.

When are the forum suppliers going to integrate email lists? There was a
promise that this woudl happen.

> Would you mind posting your question to http://forums.gradle.org?
>
> > cupello <mailto:[hidden email]>
> > 14 February 2014 10:18 am
> > Given two files:
> >
> > build.gradle with :
> >
> > aplly from: main.gradle

s/ll/pl/

> > 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
>
>

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


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

    http://xircles.codehaus.org/manage_email


Loading...