Skip to content

Instantly share code, notes, and snippets.

@mstine
Created February 15, 2013 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mstine/4962020 to your computer and use it in GitHub Desktop.
Save mstine/4962020 to your computer and use it in GitHub Desktop.
The problem child...all of the classes are making it in to the "uberJar," but the resources are not.
task uberJar(type: Jar) {
baseName = "foo-cacheserver-uberjar"
from {
sourceSets.main.output.classesDir
sourceSets.main.output.resourcesDir
configurations.compileNoGemFire.collect { it.isDirectory() ? it : zipTree(it) }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment