[gradle 名称简写]
This commit is contained in:
yangyakun
2024-04-10 17:55:22 +08:00
parent ef0624e929
commit 4fa9d64fa6
13 changed files with 94 additions and 100 deletions

View File

@@ -32,7 +32,7 @@ boolean isPassenger() {
boolean isJL() {
for (String s : gradle.startParameter.taskNames) {
if (s.contains("OchJL") | s.contains("ochJL")) {
if (s.contains("b1") | s.contains("B1")) {
return true
}
}
@@ -41,7 +41,7 @@ boolean isJL() {
boolean isM2() {
for (String s : gradle.startParameter.taskNames) {
if (s.contains("OchM2") | s.contains("ochM2")) {
if (s.contains("b2") | s.contains("B2")) {
return true
}
}