Skip to content

Instantly share code, notes, and snippets.

@quidryan
Created May 22, 2013 02:32
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 quidryan/5624882 to your computer and use it in GitHub Desktop.
Save quidryan/5624882 to your computer and use it in GitHub Desktop.
Example of .all
publications.all { ManuallyDefinedArtifact dirtyPub ->
if(!(dirtyPub.name)) {
throw new GradleException("Requires a valid name")
}
sanitizeArtifactDefinition(dirtyPub)
processPublication(dirtyPub)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment