Ver código fonte

Since Gradle 5.0 JaCoCo plugin works with the build cache and parallel test execution

tags/7.8
Evgeny Mandrikov 5 anos atrás
pai
commit
a16c34cb9a
1 arquivos alterados com 0 adições e 4 exclusões
  1. 0
    4
      build.gradle

+ 0
- 4
build.gradle Ver arquivo

@@ -276,20 +276,16 @@ subprojects {
exceptionFormat 'full' // log the full stack trace (default is the 1st line of the stack trace)
}
jacoco {
append = false
enabled = project.hasProperty('jacocoEnabled')
includes = ['com.sonar.*', 'com.sonarsource.*', 'org.sonar.*', 'org.sonarqube.*', 'org.sonarsource.*', 'io.sonarcloud.*']
}
if (project.hasProperty('maxParallelTests')) {
// WARNING this is not compatible with jacocoEnabled
maxParallelForks = project.maxParallelTests as int
}
if (project.hasProperty('parallelTests')) {
// WARNING this is not compatible with jacocoEnabled
// See https://guides.gradle.org/performance/#parallel_test_execution
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}

}

def protoMainSrc = 'src/main/protobuf'

Carregando…
Cancelar
Salvar