Просмотр исходного кода

SONAR-20268 fix property enabling

tags/10.3.0.82913
Steve Marion 8 месяцев назад
Родитель
Сommit
7a48218054
2 измененных файлов: 3 добавлений и 2 удалений
  1. 2
    2
      build.gradle
  2. 1
    0
      test-monitoring/build.gradle

+ 2
- 2
build.gradle Просмотреть файл

@@ -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 Просмотреть файл

@@ -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) {

Загрузка…
Отмена
Сохранить