Skip to content

Commit

Permalink
Merge pull request #59 from LivelyHearing/jce/android-build
Browse files Browse the repository at this point in the history
Add build.gradle file so we can use fileTree
  • Loading branch information
mieszko4 committed Feb 25, 2021
2 parents 8625a8e + 087e7ac commit cfcfa7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 1 addition & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ android {


dependencies {
// fileTree works for dev, but produces conflict crash (duplicated assets) on release build
// implementation fileTree(dir: "libs", include: ["*.aar"])

implementation 'us.zoom.sdk:commonlib@aar'
implementation 'us.zoom.sdk:mobilertc@aar'
implementation fileTree(dir: 'libs', include: ['*'])
implementation 'com.facebook.react:react-native:+' // From node_modules
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
Expand Down
3 changes: 3 additions & 0 deletions android/libs/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
configurations.maybeCreate("default")
artifacts.add("default", file('commonlib.aar'))
artifacts.add("default", file('mobilertc.aar'))

0 comments on commit cfcfa7f

Please sign in to comment.