Howdy,

another problem: The experimental Gradle daemon provides a nice speedup and should be something many users potentially would like to employ when its been declared stable.

Now, when I specify a 3rd party plugin as a build script dependency, the daemon is no longer useful. The 1st run succeeds, but the 2nd run fails with spurious classloader errors. E.g.

Caused by: java.lang.ClassCastException: com.foo.CustomLogger cannot be cast to com.foo.CustomLogger
        at com.foo.Log.getLogger(Log.java:66)
        at com.foo.Log.getLogger(Log.java:45)
        at com.foo.log.Log.<clinit>(Log.java:29)


The build script dependency looks like this:

buildscript {
  dependencies {
    classpath fileTree(dir: "/path-to-lib", include: "lib-1.0.jar")
  }
}


Is this something you are aware of? Could not find anything related in Jira. Another ticket? Any possible workarounds? Thanks.

Cheers,

Marco

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

   http://xircles.codehaus.org/manage_email


Reply via email to