From 401fef5774dd8d95c31e9c7ee48a82fe52d61249 Mon Sep 17 00:00:00 2001 From: Glavo Date: Thu, 31 Jul 2025 19:41:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=20checkstyle=20task=20(#4162?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/check-codes.yml | 2 +- build.gradle.kts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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") {