[6.4.0]
[gradle 名称简写]
This commit is contained in:
@@ -4,34 +4,34 @@ project.dependencies {
|
||||
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
||||
|
||||
} else {
|
||||
if (isCurrentDriver("ochFT")) {
|
||||
if (isCurrentDriver("C1")) {
|
||||
implementation project.project(':OCH:sweeper:driver')
|
||||
} else if (isCurrentDriver("ochJL")) {
|
||||
} else if (isCurrentDriver("B1")) {
|
||||
implementation project.project(':OCH:shuttle:driver')
|
||||
implementation project.project(':OCH:bus:driver')
|
||||
} else if (isCurrentPassenger("ochJL")) {
|
||||
} else if (isCurrentPassenger("B1")) {
|
||||
implementation project.project(':OCH:bus:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger')
|
||||
} else if (isCurrentDriver("ochM1")) {
|
||||
println "utils.gradle------isDriverOchM1"
|
||||
} else if (isCurrentDriver("M1")) {
|
||||
println "utils.gradle------isDriverM1"
|
||||
implementation project.project(':OCH:charter:driver')
|
||||
} else if (isCurrentPassenger("ochM1")) {
|
||||
} else if (isCurrentPassenger("M1")) {
|
||||
implementation project.project(':OCH:charter:passenger')
|
||||
println "utils.gradle------isPassengerM1"
|
||||
} else if (isCurrentDriver("ochM2")) {
|
||||
} else if (isCurrentDriver("B2")) {
|
||||
implementation project.project(':OCH:shuttle:driver')
|
||||
implementation project.project(':OCH:bus:driver')
|
||||
} else if (isCurrentPassenger("ochM2")) {
|
||||
} else if (isCurrentPassenger("B2")) {
|
||||
implementation project.project(':OCH:bus:passenger')
|
||||
implementation project.project(':OCH:shuttle:passenger')
|
||||
} else if (isCurrentDriver("ochDFHQ")) {
|
||||
} else if (isCurrentDriver("ochT1T2")) {
|
||||
if(isCurrentDriver("saas")){
|
||||
implementation project.project(':OCH:taxi:unmanned-driver')
|
||||
}
|
||||
if(isCurrentDriver("mogo")){
|
||||
implementation project.project(':OCH:taxi:driver')
|
||||
}
|
||||
} else if (isCurrentPassenger("ochDFHQ")) {
|
||||
} else if (isCurrentPassenger("ochT1T2")) {
|
||||
if(isCurrentDriver("saas")){
|
||||
implementation project.project(':OCH:taxi:unmanned-passenger')
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user