Browse Source

SONAR-20268 fix property enabling

tags/10.3.0.82913
Steve Marion 8 months ago
parent
commit
7a48218054
2 changed files with 3 additions and 2 deletions
  1. 2
    2
      build.gradle
  2. 1
    0
      test-monitoring/build.gradle

+ 2
- 2
build.gradle View File

@@ -65,7 +65,7 @@ allprojects {
ext {
release = project.hasProperty('release') && project.getProperty('release')
official = project.hasProperty('official') && project.getProperty('official')
withTestMonitoring = project.hasProperty('withTestMonitoring')
testMonitoringEnabled = project.hasProperty('withTestMonitoring')
}

ext.enableBom = enableBom
@@ -681,7 +681,7 @@ subprojects {
}
}

if (ext.withTestMonitoring) {
if (ext.testMonitoringEnabled) {
tasks.withType(Test) {
doFirst {
ext {

+ 1
- 0
test-monitoring/build.gradle View File

@@ -15,6 +15,7 @@ dependencies {

testImplementation 'org.assertj:assertj-core'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.aspectj:aspectjweaver:1.9.20.1'
}

tasks.withType(JavaCompile) {

Loading…
Cancel
Save