Continuous build and classpath dependencies

Hello,

I wrote a gradle plugin which works OK on normal build, but fail on continuous builds after a change is made.

This is the stacktrace I got:

modified: /Users/edgar/Temp/my-app/src/main/java/com/mycompany/App.java
Change detected, executing build…
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘my-app’.

Could not resolve all dependencies for configuration ‘:classpath’.
Could not resolve org.jooby:jooby-gradle-plugin:1.0.0.CR6.
Required by:
:my-app:unspecified
Could not resolve org.jooby:jooby-gradle-plugin:1.0.0.CR6.
Provider __redirected.__SAXParserFactory not found

Seems gradle fails to resolve the plugin dependency while rebuilding.

Source code for my plugin and task is available here

Appreciate any help you can provide to fix this problem.

Thanks a lot.

It was a jboss-modules issue where it rewrite/set most of XML factories.

This issue: https://github.com/ceylon/ceylon-runtime/issues/33 helped me to workaround and temporary fix my problem.

Thanks.