创建 checkstyle task (#4162)

This commit is contained in:
Glavo 2025-07-31 19:41:02 +08:00 committed by GitHub
parent 9298fe48e1
commit 401fef5774
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -22,4 +22,4 @@ jobs:
java-version: '11' java-version: '11'
java-package: 'jdk+fx' java-package: 'jdk+fx'
- name: Check Codes - name: Check Codes
run: ./gradlew checkstyleMain checkstyleTest checkTranslations --no-daemon --parallel run: ./gradlew checkstyle checkTranslations --no-daemon --parallel

View File

@ -50,6 +50,10 @@ subprojects {
mavenLocal() mavenLocal()
} }
} }
tasks.register("checkstyle") {
dependsOn(tasks["checkstyleMain"], tasks["checkstyleTest"])
}
} }
tasks.register("checkTranslations") { tasks.register("checkTranslations") {