Fix linux build
This commit is contained in:
parent
7f19ad3471
commit
955606b51a
|
|
@ -36,7 +36,7 @@ androidComponents.onVariants { variant ->
|
||||||
|
|
||||||
task<Copy>("copyDex$variantCapped") {
|
task<Copy>("copyDex$variantCapped") {
|
||||||
dependsOn("assemble$variantCapped")
|
dependsOn("assemble$variantCapped")
|
||||||
from("$buildDir/intermediates/dex/$variantCapped/mergeDex$variantCapped/classes.dex")
|
from("$buildDir/intermediates/dex/${variant.name}/mergeDex$variantCapped/classes.dex")
|
||||||
rename("classes.dex", "lsp.dex")
|
rename("classes.dex", "lsp.dex")
|
||||||
into("${rootProject.projectDir}/out/assets/dex")
|
into("${rootProject.projectDir}/out/assets/dex")
|
||||||
}
|
}
|
||||||
|
|
@ -45,7 +45,7 @@ androidComponents.onVariants { variant ->
|
||||||
dependsOn("assemble$variantCapped")
|
dependsOn("assemble$variantCapped")
|
||||||
from(
|
from(
|
||||||
fileTree(
|
fileTree(
|
||||||
"dir" to "$buildDir/intermediates/merged_native_libs/$variantCapped/out/lib",
|
"dir" to "$buildDir/intermediates/merged_native_libs/${variant.name}/out/lib",
|
||||||
"include" to listOf("**/liblspatch.so")
|
"include" to listOf("**/liblspatch.so")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue