diff --git a/.github/workflows/check-codes.yml b/.github/workflows/check-codes.yml index b945650c5..def21b382 100644 --- a/.github/workflows/check-codes.yml +++ b/.github/workflows/check-codes.yml @@ -22,4 +22,4 @@ jobs: java-version: '11' java-package: 'jdk+fx' - name: Check Codes - run: ./gradlew checkstyleMain checkstyleTest checkTranslations --no-daemon --parallel + run: ./gradlew checkstyle checkTranslations --no-daemon --parallel diff --git a/build.gradle.kts b/build.gradle.kts index 94d159280..f3792e6df 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -50,6 +50,10 @@ subprojects { mavenLocal() } } + + tasks.register("checkstyle") { + dependsOn(tasks["checkstyleMain"], tasks["checkstyleTest"]) + } } tasks.register("checkTranslations") {