Skip to content

Commit

Permalink
android: make sure to copy resources.ap_ after the build is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
flsobral committed Apr 6, 2021
1 parent d1e5da6 commit 49e1f51
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions TotalCrossVM/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ android {
into "${rootDir}/../../TotalCrossSDK/dist/vm/android"
rename { 'TotalCross.apk' }
}
copy {
from fileTree('build/intermediates/processed_res/' + variant.name +'/out').files
into "${rootDir}/../../TotalCrossSDK/etc/launchers/android"
include 'resources-' + variant.name + '.ap_'
rename { 'resources.ap_' }
}
}
}
copy {
from fileTree('build/intermediates/processed_res/' + variant.name +'/out').files
into '${rootDir}/../../TotalCrossSDK/etc/launchers/android'
include 'resources-' + variant.name + '.ap_'
rename { 'resources.ap_' }
}
} else {
variant.outputs.each { output ->
def outputFile = output.outputFile
Expand Down

0 comments on commit 49e1f51

Please sign in to comment.