Skip to content

Commit d41fbf7

Browse files
committed
add modernizer plugin
1 parent 4dd192c commit d41fbf7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,5 @@ plugin-jacocolog = { module = "org.barfuin.gradle.jacocolog:org.barfuin.gradle.j
5353
[plugins]
5454
checker = { id = "org.checkerframework", version.ref = "checkerp" }
5555
jacocolog = { id = "org.barfuin.gradle.jacocolog" }
56-
sonar = { id = "org.sonarqube", version = "7.2.3.7755" }
56+
sonar = { id = "org.sonarqube", version = "7.2.3.7755" }
57+
modernizer = { id = "com.github.andygoossens.modernizer", version = "1.12.0" }

json-schema-validator/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ plugins {
33
id("openapiparser.library")
44
id("openapiparser.publish")
55
alias(libs.plugins.sonar)
6+
alias(libs.plugins.modernizer)
67
}
78

89
dependencies {
@@ -47,6 +48,10 @@ publishing {
4748
}
4849
}
4950

51+
modernizer {
52+
includeTestClasses = true
53+
}
54+
5055
sonar {
5156
properties {
5257
property("sonar.projectKey", "openapi-processor_openapi-parser-json-schema-validator")

0 commit comments

Comments
 (0)