mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-08-03 11:26:38 -04:00
创建 checkstyle task (#4162)
This commit is contained in:
parent
9298fe48e1
commit
401fef5774
2
.github/workflows/check-codes.yml
vendored
2
.github/workflows/check-codes.yml
vendored
@ -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
|
||||||
|
@ -50,6 +50,10 @@ subprojects {
|
|||||||
mavenLocal()
|
mavenLocal()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.register("checkstyle") {
|
||||||
|
dependsOn(tasks["checkstyleMain"], tasks["checkstyleTest"])
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register("checkTranslations") {
|
tasks.register("checkTranslations") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user