Skip to content

Instantly share code, notes, and snippets.

@pledbrook
Created June 25, 2013 13:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pledbrook/5858308 to your computer and use it in GitHub Desktop.
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.
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"
}
}
@pledbrook
Copy link
Author

Note that this is only necessary if you are using Java 6 or earlier. 'wagon-http-lightweight' works fine on Java 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment