forked from micronaut-projects/micronaut-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (34 loc) · 1.3 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
plugins {
id "io.micronaut.build.internal.docs"
id "io.micronaut.build.internal.dependency-updates"
id "io.micronaut.build.internal.version-catalog-updates"
id "io.micronaut.build.internal.convention-quality"
}
tasks.named("updateVersionCatalogs") {
// we set the list to empty because we accept upgrades which improve the status
rejectedQualifiers = []
// Invalid POM files
ignoredModules.add("io.micronaut.ignite:micronaut-ignite-core")
ignoredModules.add("io.micronaut.ignite:micronaut-ignite-cache")
// workaround Gradle variant selection problem
ignoredModules.add("com.github.ben-manes.caffeine:caffeine")
}
if (System.getenv("SONAR_TOKEN") != null) {
// deprecated and compile time only classes excluded from coverage
def coverageExcludes = [
"**/StreamSoftServiceLoader.java",
"**/ServiceDescriptionProcessor.java",
"**/GraalReflectionConfigurer.java",
"**/graal/ServiceLoaderInitialization.java",
"**/graal/ServiceLoaderInitialization.java",
"**/DirectoryClassWriterOutputVisitor.java",
"**/GroovyClassWriterOutputVisitor.java",
"**/tck/**",
"**/test/support/**"
]
sonarqube {
properties {
property "sonar.exclusions", coverageExcludes.join(",")
}
}
}