Some things to try: > I am trying to pull Config.groovy into my main build.gradle. > > Here is config.groovy: > > class Config{ > def static getConfig(fileName){ > return "BLAH" > } > }
Remove the 'def'. Also, I strongly recommend putting Config in a package. > --------- > here is my build.gradle file: > > import Config > a = Config.getConfig("blah") > println a The import is unnecessary. It should still work, but I think classes in packages are far more reliable. Cheers, Peter --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email