File tree Expand file tree Collapse file tree 5 files changed +7
-9
lines changed
main/kotlin/com/adamratzman/spotify/models
test/kotlin/com/adamratzman/spotify Expand file tree Collapse file tree 5 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ This library is available via Maven Central [here](https://search.maven.org/arti
28
28
<dependency>
29
29
<groupId>com.adamratzman</groupId>
30
30
<artifactId>spotify-api-kotlin</artifactId>
31
- <version>2.1.3 </version>
31
+ <version>2.2.0 </version>
32
32
</dependency>
33
33
34
34
<repository>
@@ -44,7 +44,7 @@ repositories {
44
44
jcenter()
45
45
}
46
46
47
- compile group: 'com.adamratzman', name: 'spotify-api-kotlin', version: '2.1.3 '
47
+ compile group: 'com.adamratzman', name: 'spotify-api-kotlin', version: '2.2.0 '
48
48
```
49
49
50
50
To use the latest snapshot instead, you must add the Jitpack repository as well
Original file line number Diff line number Diff line change 1
1
# Testing
2
2
3
- We use [ Spek] ( https://github.com/spekframework/spek ) to run unit tests.
3
+ We use [ Spek] ( https://github.com/spekframework/spek ) to run unit tests. You must add Maven Central to the gradle repositories
4
+ in order to pull Spek.
4
5
5
6
To run ** only** public endpoint tests, run
6
7
Original file line number Diff line number Diff line change 1
1
/* Spotify Web API - Kotlin Wrapper; MIT License, 2019; Original author: Adam Ratzman */
2
2
package com.adamratzman.spotify.models
3
3
4
- import com.adamratzman.spotify.main. SpotifyScope
4
+ import com.adamratzman.spotify.SpotifyScope
5
5
import com.beust.klaxon.Json
6
6
7
7
/* *
Original file line number Diff line number Diff line change 1
1
/* Spotify Web API - Kotlin Wrapper; MIT License, 2019; Original author: Adam Ratzman */
2
2
package com.adamratzman.spotify
3
3
4
- import com.adamratzman.spotify.main.spotifyApi
5
-
6
4
val api = when {
7
5
System .getProperty(" spotifyRedirectUri" ) == null -> {
8
6
spotifyApi {
Original file line number Diff line number Diff line change 1
1
/* Spotify Web API - Kotlin Wrapper; MIT License, 2019; Original author: Adam Ratzman */
2
2
package com.adamratzman.spotify.utilities
3
3
4
- import com.adamratzman.spotify.api
5
4
import com.adamratzman.spotify.SpotifyClientAPI
6
- import com.adamratzman.spotify.main.spotifyApi
7
-
5
+ import com.adamratzman.spotify.api
6
+ import com.adamratzman.spotify.spotifyApi
8
7
import org.junit.jupiter.api.Assertions.assertDoesNotThrow
9
8
import org.junit.jupiter.api.assertThrows
10
9
import org.spekframework.spek2.Spek
You can’t perform that action at this time.
0 commit comments