Skip to content

Commit

Permalink
Fix copyBuildDist gradle task
Browse files Browse the repository at this point in the history
  • Loading branch information
FeodorFitsner committed Nov 2, 2023
1 parent 865b3f8 commit 0f3a226
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/serious_python_android/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ task copyCustomDist(type: Exec) {

task copyBuildDist(type: Copy) {
def srcDir = System.getenv('SERIOUS_PYTHON_BUILD_DIST')
from srcDir
into 'src/main/jniLibs'
if (srcDir != null) {
from srcDir
into 'src/main/jniLibs'
}
}

if (System.getenv('SERIOUS_PYTHON_P4A_DIST')) {
Expand Down

0 comments on commit 0f3a226

Please sign in to comment.