Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Making plugin with with Gradle 3.1 and non Maven projects #256
Fixing issue where plugin would end up throwing
It appears not. I tested it on 3.1, 3.0 and 2.14.1 and they all ended up failing. I have a simple example project that causes the error.
If you read the docs for RepositoryHandler it says that the
If I update the example and use the local build I have (without the if(mavenPlugin) part) I still get the exception.
However when I add the maven plugin specifically the build works. Given the working example, if I switch back to the public version of the plugin I again get
If I re-add the if(mavenPlugin) part of the patch and remove the
I've merged this change in the https://github.com/johnrengelman/shadow/tree/shadow_1.2.4 and then fixed it up a bit. Waiting on another report and then I'll release a 1.2.4.