Skip to content

Instantly share code, notes, and snippets.

@johnrengelman
Created August 11, 2014 20:52
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 johnrengelman/85a4bdc2d39099382ef1 to your computer and use it in GitHub Desktop.
Save johnrengelman/85a4bdc2d39099382ef1 to your computer and use it in GitHub Desktop.
Configure Gradle multi-project publication order
subprojects {
tasks.withType(PublishToMavenRepository).all { t ->
rootProject.tasks.withType(PublishToMavenRepository).all {
it.mustRunAfter t
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment