Skip to content

Commit

Permalink
Add build.gradle file so we can use fileTree
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamins committed Feb 22, 2021
1 parent 1879dac commit 087e7ac
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 087e7ac

Please sign in to comment.