Skip to content

Commit

Permalink
Update gradle to direct include aar files (#199)
Browse files Browse the repository at this point in the history
* Update gradle to direct include aar files
* Update Changelog
  • Loading branch information
gustavoggs authored Jun 13, 2022
1 parent 3721f16 commit f820b55
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fix

- Update gradle to direct include aar files to fix [#194](https://github.com/cjam/react-native-spotify-remote/issues/194)

## [0.3.11-6] - 2022-06-04

### Fix
Expand Down
11 changes: 6 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,15 @@ repositories {
google()
mavenCentral()
jcenter()
flatDir {
dirs 'external/SpotifySDK/app-remote-lib'
dirs 'external/SpotifySDK/auth-lib'
}
}



dependencies {
def externalLibs = fileTree(dir: "$projectDir/external", include: '**/*.aar').collect()
println("Adding external libraries ${externalLibs}")
implementation files(externalLibs)
implementation (name: "spotify-auth-release-1.2.3", ext: "aar")
implementation (name: "spotify-app-remote-release-0.7.2", ext: "aar")
implementation "com.google.code.gson:gson:2.8.5" // needed by spotify-app-remote
implementation project(path: ':react-native-events') // From node_module
//noinspection GradleDynamicVersion
Expand Down

0 comments on commit f820b55

Please sign in to comment.