gradle: fix wrong assets path

Signed-off-by: keta1 <k@ketal.icu>
This commit is contained in:
keta1 2022-02-15 22:29:17 +08:00 committed by Nullptr
parent d593107e04
commit a23553e8ff
1 changed files with 2 additions and 2 deletions

View File

@ -67,14 +67,14 @@ androidComponents.onVariants { variant ->
task<Copy>("copyDex$variantCapped") {
dependsOn("assemble$variantCapped")
from("$buildDir/intermediates/dex/$variantLowered/mergeDex$variantCapped/classes.dex")
from("$buildDir/intermediates/dex/$variantCapped/mergeDex$variantCapped/classes.dex")
rename("classes.dex", "lsp.dex")
into("${rootProject.projectDir}/out/assets/dex")
}
task<Copy>("copySo$variantCapped") {
dependsOn("assemble$variantCapped")
from("$buildDir/intermediates/merged_native_libs/$variantLowered/out/lib")
from("$buildDir/intermediates/merged_native_libs/$variantCapped/out/lib")
into("${rootProject.projectDir}/out/assets/so")
}