Hi together,
sometimes, I want to use code which is part of the current project or lying
around as a jar from my gradle build. The GroovyClassLoader does the trick:
def gcl = new GroovyClassLoader()
def policyServer = gcl.parseClass(new
File("src/main/groovy/socket/SocketPolicyServer.groovy")).newInstance()
Anyhow, it would be neat if you could do something like:
dependencies {
gradle fileSet("build/classes")
gradle jar("/home/user/something.jar")
}
What do you think?
Kind regards
Matthias
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email