[删除product 维度]
This commit is contained in:
yangyakun
2024-04-10 14:56:30 +08:00
parent a055a942cd
commit ef0624e929
30 changed files with 116 additions and 491 deletions

View File

@@ -30,24 +30,6 @@ boolean isPassenger() {
return false
}
boolean isJL() {
for (String s : gradle.startParameter.taskNames) {
if (s.contains("OchJL") | s.contains("ochJL")) {
return true
}
}
return false
}
boolean isM2() {
for (String s : gradle.startParameter.taskNames) {
if (s.contains("OchM2") | s.contains("ochM2")) {
return true
}
}
return false
}
boolean isCurrentFlavors(String flavors){
for (String s : gradle.startParameter.taskNames) {
@@ -65,6 +47,4 @@ ext {
isCurrentFlavors = this.&isCurrentFlavors
isCurrentDriver = this.&isCurrentDriver
isCurrentPassenger = this.&isCurrentPassenger
isJL = this.&isJL
isM2 = this.&isM2
}