mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2026-10-16 21:21:33 +08:00
创建 checkstyle task (#4162)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -50,6 +50,10 @@ subprojects {
|
||||
mavenLocal()
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("checkstyle") {
|
||||
dependsOn(tasks["checkstyleMain"], tasks["checkstyleTest"])
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("checkTranslations") {
|
||||
|
||||
Reference in New Issue
Block a user