diff --git a/codegen/build.gradle.kts b/codegen/build.gradle.kts index 7bc695f061bf..2649f48ef780 100644 --- a/codegen/build.gradle.kts +++ b/codegen/build.gradle.kts @@ -183,6 +183,9 @@ subprojects { * ==================================================== */ apply(plugin = "checkstyle") + checkstyle { + configFile = File("${project.rootDir}/gradleConfig/checkstyle/checkstyle.xml") + } tasks["checkstyleTest"].enabled = false @@ -237,7 +240,7 @@ subprojects { // Configure the bug filter for spotbugs. spotbugs { setEffort("max") - val excludeFile = File("${project.rootDir}/config/spotbugs/filter.xml") + val excludeFile = File("${project.rootDir}/gradleConfig/spotbugs/filter.xml") if (excludeFile.exists()) { excludeFilter.set(excludeFile) } @@ -250,6 +253,7 @@ subprojects { */ jreleaser { dryrun = false + gitRootSearch = true // Used for creating a tagged release, uploading files and generating changelog. // In the future we can set this up to push release tags to GitHub, but for now it's diff --git a/codegen/config/checkstyle/checkstyle.xml b/codegen/gradleConfig/checkstyle/checkstyle.xml similarity index 100% rename from codegen/config/checkstyle/checkstyle.xml rename to codegen/gradleConfig/checkstyle/checkstyle.xml diff --git a/codegen/config/checkstyle/suppressions.xml b/codegen/gradleConfig/checkstyle/suppressions.xml similarity index 100% rename from codegen/config/checkstyle/suppressions.xml rename to codegen/gradleConfig/checkstyle/suppressions.xml diff --git a/codegen/config/spotbugs/filter.xml b/codegen/gradleConfig/spotbugs/filter.xml similarity index 100% rename from codegen/config/spotbugs/filter.xml rename to codegen/gradleConfig/spotbugs/filter.xml