mirror of https://github.com/auygun/kaliber.git
Remove forEachBuildType
This commit is contained in:
parent
64c63d4184
commit
85b5184d29
|
@ -101,15 +101,15 @@ android {
|
|||
sourceSets {
|
||||
main {
|
||||
java.srcDirs += ['../../../src/engine/platform/java/com/kaliber/base']
|
||||
utils.forEachBuildType { buildType ->
|
||||
"${buildType}" {
|
||||
assets.srcDirs = [utils.getAssetsDir(buildType)]
|
||||
android.buildTypes.each { buildType ->
|
||||
"${buildType.name}" {
|
||||
assets.srcDirs = [utils.getAssetsDir(buildType.name)]
|
||||
}
|
||||
}
|
||||
}
|
||||
utils.forEachBuildType { buildType ->
|
||||
"${buildType}" {
|
||||
jniLibs.srcDirs = [utils.getJniLibsDir(buildType)]
|
||||
android.buildTypes.each { buildType ->
|
||||
"${buildType.name}" {
|
||||
jniLibs.srcDirs = [utils.getJniLibsDir(buildType.name)]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -299,12 +299,6 @@ class Utils implements Plugin<Project> {
|
|||
}
|
||||
}
|
||||
|
||||
void forEachBuildType(Closure callback) {
|
||||
project.android.buildTypes.each { buildType ->
|
||||
callback(buildType.name)
|
||||
}
|
||||
}
|
||||
|
||||
def getBuildTypesRegExp() {
|
||||
def outList = []
|
||||
project.android.buildTypes.each { buildType ->
|
||||
|
|
Loading…
Reference in New Issue