Skip to content

Instantly share code, notes, and snippets.

@allengeorge
Created November 6, 2013 17:02
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allengeorge/7339905 to your computer and use it in GitHub Desktop.
Save allengeorge/7339905 to your computer and use it in GitHub Desktop.
Hierarchical Gradle Project Definition That Ignores Aggregate Directories
subprojects {
if (name == 'samples') {
return
}
apply plugin: 'java'
apply plugin: 'maven-publish'
// rest of build script follows...
}
include 'core', 'agent', 'samples:sample1'
@arnaudruffin
Copy link

exactly what I needed, thanks

@sparkym3
Copy link

sparkym3 commented Dec 8, 2016

+1

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