创建 checkstyle task (#4162)
This commit is contained in:
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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user