[6.4.0]
[fragment 内存泄漏]
This commit is contained in:
@@ -59,9 +59,20 @@ boolean isCurrentFlavors(String flavors){
|
||||
return false
|
||||
}
|
||||
|
||||
boolean isBaiLing() {
|
||||
for (String s : gradle.startParameter.taskNames) {
|
||||
println "----------isPassenger------${s}"
|
||||
if (s.contains("Bailing") | s.contains("bailing")) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
ext {
|
||||
isPassenger = this.&isPassenger
|
||||
isDriver = this.&isDriver
|
||||
isBaiLing = this.&isBaiLing
|
||||
isCurrentFlavors = this.&isCurrentFlavors
|
||||
isCurrentDriver = this.&isCurrentDriver
|
||||
isCurrentPassenger = this.&isCurrentPassenger
|
||||
|
||||
Reference in New Issue
Block a user