you may want to take a look at http://www.nabble.com/common-resolver-setup-across-multiple-gradle-builds-td19570795.html
further improvement: i put the gradle-customizations.jar into the $GRADLE_HOME/libs. mvlcek wrote: > > In my build script I have written a function to configure the build to > e.g. > - add our standard enterprise repository to dependencies and uploadLibs > - in the init task calculate the version number and also put it into the > manifest > - add the default convention mapping to all compile tasks > - ... > > Is there a way to put this function(s) in an external file, which can be > updated independently of the build.gradle file (like a ant import)? > > If I put the functions in the settings.gradle file in the same directory, > the functions are not known in the build.gradle. > > -- View this message in context: http://www.nabble.com/Common-functions-in-external-file--tp20131097p20132285.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
