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 authored and Andrei94 committed Jun 23, 2018
1 parent 887a350 commit ee2b2e6
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 ee2b2e6

Please sign in to comment.