Skip to content

Commit f820b55

Browse files
authored
Update gradle to direct include aar files (#199)
* Update gradle to direct include aar files * Update Changelog
1 parent 3721f16 commit f820b55

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fix
11+
12+
- Update gradle to direct include aar files to fix [#194](https://github.com/cjam/react-native-spotify-remote/issues/194)
13+
1014
## [0.3.11-6] - 2022-06-04
1115

1216
### Fix

android/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,15 @@ repositories {
5959
google()
6060
mavenCentral()
6161
jcenter()
62+
flatDir {
63+
dirs 'external/SpotifySDK/app-remote-lib'
64+
dirs 'external/SpotifySDK/auth-lib'
65+
}
6266
}
6367

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

0 commit comments

Comments
 (0)