Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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