]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20268 fix property enabling
authorSteve Marion <steve.marion@sonarsource.com>
Thu, 14 Sep 2023 09:45:41 +0000 (11:45 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 14 Sep 2023 20:02:39 +0000 (20:02 +0000)
build.gradle
test-monitoring/build.gradle

index ff485c11d2a32c83cd2a63a9c8bd3845131ddc28..3bda668674c69b74d4d9f1d87da5a16f09c5230f 100644 (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 {
index 236f8a34266e4be05d577123cf493a98de33a087..41b025071e6bfb02f4de08a6015ec282c6e382fa 100644 (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) {