We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f5f32e commit 22f08b7Copy full SHA for 22f08b7
codegen/build.gradle.kts
@@ -183,8 +183,9 @@ subprojects {
183
* ====================================================
184
*/
185
apply(plugin = "checkstyle")
186
+
187
checkstyle {
- configFile = File("${project.rootDir}/gradleConfig/checkstyle/checkstyle.xml")
188
+ configDirectory.set(rootProject.file("gradleConfig/checkstyle"))
189
}
190
191
tasks["checkstyleTest"].enabled = false
@@ -240,7 +241,7 @@ subprojects {
240
241
// Configure the bug filter for spotbugs.
242
spotbugs {
243
setEffort("max")
- val excludeFile = File("${project.rootDir}/gradleConfig/spotbugs/filter.xml")
244
+ val excludeFile = rootProject.file("gradleConfig/spotbugs/filter.xml")
245
if (excludeFile.exists()) {
246
excludeFilter.set(excludeFile)
247
0 commit comments