Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
* [android] Copy so files to build dir. (#2303)
Browse files Browse the repository at this point in the history
* Copy so files to build dir.

* * [Android] Add suffix

* * [Android] Change directory structure
  • Loading branch information
YorkShen authored and Darin726 committed Apr 11, 2019
1 parent 0cbb060 commit 4e272fb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,17 @@ bintray {
name = project.version
}
}
}

afterEvaluate {
transformNativeLibsWithStripDebugSymbolForRelease << {
copy{
from new File(project.buildDir, "intermediates/transforms/mergeJniLibs/release/folders/2000/3/main/lib")
into new File(project.buildDir, "unstrippedSo")
include '**/libweexjss.so', '**/libweexcore.so'
eachFile {
it.path = "${it.relativePath.segments.first()}_${it.name}"
}
}
}
}

0 comments on commit 4e272fb

Please sign in to comment.