Fix sandhook build
This commit is contained in:
parent
a8b24f555f
commit
2c709e4c65
|
|
@ -57,6 +57,7 @@ afterEvaluate {
|
||||||
|
|
||||||
def variantNameCapped = variant.name.capitalize()
|
def variantNameCapped = variant.name.capitalize()
|
||||||
def variantNameLowered = variant.name.toLowerCase()
|
def variantNameLowered = variant.name.toLowerCase()
|
||||||
|
def myTemplatePath = "${projectDir}/template_override/"
|
||||||
|
|
||||||
task("copyDex${variantNameCapped}", type: Copy) {
|
task("copyDex${variantNameCapped}", type: Copy) {
|
||||||
dependsOn "assemble${variantNameCapped}"
|
dependsOn "assemble${variantNameCapped}"
|
||||||
|
|
@ -67,6 +68,12 @@ afterEvaluate {
|
||||||
}
|
}
|
||||||
destinationDir file(templateRootPath + "system/framework/")
|
destinationDir file(templateRootPath + "system/framework/")
|
||||||
outputs.upToDateWhen { false }
|
outputs.upToDateWhen { false }
|
||||||
|
doLast {
|
||||||
|
copy {
|
||||||
|
from file(myTemplatePath)
|
||||||
|
into file(templateRootPath)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue