Skip to content

Instantly share code, notes, and snippets.

@theresajayne
Created December 11, 2014 09:27
Show Gist options
  • Select an option

  • Save theresajayne/ee3029112bfb389d7e18 to your computer and use it in GitHub Desktop.

Select an option

Save theresajayne/ee3029112bfb389d7e18 to your computer and use it in GitHub Desktop.
configurations {
includeJars
excludeJars
}
dependencies{
includeJars 'org.apache.commons:commons-io:1.3.2'
includeJars 'org.icefaces:icefaces-bundle:1.8.2'
excludeJars 'javax.servlet:servlet-api:0.2.3'
}
war {
classpath = rootProject.configurations.includeJars
exclude(rootProject.configurations.excludeJars.collect{it})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment