Created
June 25, 2013 13:10
-
-
Save pledbrook/5858308 to your computer and use it in GitHub Desktop.
The dependency blocks in your Grails project's BuildConfig.groovy required to `maven-deploy` to [Bintray](http://www.bintray.com). The key is to exclude `wagon-http-lightweight` and include `wagon-http` instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
build "org.apache.maven.wagon:wagon-http:2.4" | |
} | |
plugins { | |
build ":release:2.2.0", ":rest-client-builder:1.0.3", { | |
export = false | |
exclude "wagon-http-lightweight" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that this is only necessary if you are using Java 6 or earlier. 'wagon-http-lightweight' works fine on Java 7.