feat : first
This commit is contained in:
17
project.gradle
Normal file
17
project.gradle
Normal file
@@ -0,0 +1,17 @@
|
||||
ext {
|
||||
isolationMode = Boolean.valueOf(isolation_mode)
|
||||
println("是否隔离模式:" + isolationMode)
|
||||
|
||||
package_name = project.hasProperty('package_name') ? package_name
|
||||
: (isolationMode ? 'com.example.gogo.none' : 'com.example.live')
|
||||
println("applicationId is " + package_name)
|
||||
}
|
||||
|
||||
boolean isReleaseBuildType() {
|
||||
for (String s : gradle.startParameter.taskNames) {
|
||||
if (s.contains("Release") | s.contains("release")) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
Reference in New Issue
Block a user