Skip to content

Commit

Permalink
Do not publish to local Maven repo unless necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed May 28, 2018
1 parent 9a50aef commit 84e2abe
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ dependencies {
test {
// Opt-in via system property: '-Dplatform.tooling.support.tests.enabled=true'
enabled = Boolean.getBoolean('platform.tooling.support.tests.enabled')

// All maven-aware projects must be installed, i.e. published to the local repository
rootProject.ext.mavenizedProjects.each { name ->
dependsOn project(":${name}").publishToMavenLocal

if (enabled) {
// All maven-aware projects must be installed, i.e. published to the local repository
rootProject.ext.mavenizedProjects.each { name ->
dependsOn project(":${name}").publishToMavenLocal
}
}

useJUnitPlatform()
Expand Down

0 comments on commit 84e2abe

Please sign in to comment.