File tree Expand file tree Collapse file tree 12 files changed +35
-25
lines changed
commonMain/kotlin/com.adamratzman.spotify
commonTest/kotlin/com.adamratzman/spotify/utilities Expand file tree Collapse file tree 12 files changed +35
-25
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ plugins {
7
7
signing
8
8
`java- library`
9
9
id(" io.codearte.nexus-staging" ) version " 0.21.2"
10
- kotlin(" multiplatform" ) version " 1.3.71 "
11
- kotlin(" plugin.serialization" ) version " 1.3.71 "
10
+ kotlin(" multiplatform" ) version " 1.3.70 "
11
+ kotlin(" plugin.serialization" ) version " 1.3.70 "
12
12
id(" com.diffplug.gradle.spotless" ) version " 3.26.1"
13
13
id(" com.moowork.node" ) version " 1.3.1"
14
14
id(" org.jetbrains.dokka" ) version " 0.10.0"
@@ -41,7 +41,7 @@ kotlin {
41
41
targets {
42
42
sourceSets {
43
43
val coroutineVersion = " 1.3.3"
44
- val serializationVersion = " 0.14 .0"
44
+ val serializationVersion = " 0.20 .0"
45
45
val spekVersion = " 2.0.9"
46
46
val ktorVersion = " 1.3.0-rc2"
47
47
val kotlinVersion = " 1.3.71"
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ import com.adamratzman.spotify.models.PlaylistUri
17
17
import com.adamratzman.spotify.models.UserUri
18
18
import com.adamratzman.spotify.models.serialization.toCursorBasedPagingObject
19
19
import com.adamratzman.spotify.models.serialization.toList
20
- import kotlinx.serialization.list
21
- import kotlinx.serialization.serializer
20
+ import kotlinx.serialization.builtins. list
21
+ import kotlinx.serialization.builtins. serializer
22
22
23
23
@Deprecated(" Endpoint name has been updated for kotlin convention consistency" , ReplaceWith (" ClientFollowingApi" ))
24
24
typealias ClientFollowingAPI = ClientFollowingApi
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ import com.adamratzman.spotify.models.TrackUri
17
17
import com.adamratzman.spotify.models.serialization.toList
18
18
import com.adamratzman.spotify.models.serialization.toPagingObject
19
19
import com.adamratzman.spotify.utils.Market
20
- import kotlinx.serialization.list
21
- import kotlinx.serialization.serializer
20
+ import kotlinx.serialization.builtins. list
21
+ import kotlinx.serialization.builtins. serializer
22
22
23
23
@Deprecated(" Endpoint name has been updated for kotlin convention consistency" , ReplaceWith (" ClientLibraryApi" ))
24
24
typealias ClientLibraryAPI = ClientLibraryApi
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import com.adamratzman.spotify.utils.jsonMap
27
27
import kotlinx.serialization.json.JsonArray
28
28
import kotlinx.serialization.json.JsonPrimitive
29
29
import kotlinx.serialization.json.json
30
- import kotlinx.serialization.list
30
+ import kotlinx.serialization.builtins. list
31
31
32
32
@Deprecated(" Endpoint name has been updated for kotlin convention consistency" , ReplaceWith (" ClientPlayerApi" ))
33
33
typealias ClientPlayerAPI = ClientPlayerApi
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import com.adamratzman.spotify.models.serialization.toObject
20
20
import com.adamratzman.spotify.models.serialization.toPagingObject
21
21
import com.adamratzman.spotify.utils.Market
22
22
import com.adamratzman.spotify.utils.catch
23
- import kotlinx.serialization.list
23
+ import kotlinx.serialization.builtins. list
24
24
25
25
@Deprecated(" Endpoint name has been updated for kotlin convention consistency" , ReplaceWith (" ArtistApi" ))
26
26
typealias ArtistsAPI = ArtistApi
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ import com.adamratzman.spotify.utils.Locale
26
26
import com.adamratzman.spotify.utils.Market
27
27
import com.adamratzman.spotify.utils.formatDate
28
28
import kotlin.reflect.KClass
29
- import kotlinx.serialization.list
30
- import kotlinx.serialization.serializer
29
+ import kotlinx.serialization.builtins. list
30
+ import kotlinx.serialization.builtins. serializer
31
31
32
32
@Deprecated(" Endpoint name has been updated for kotlin convention consistency" , ReplaceWith (" BrowseApi" ))
33
33
typealias BrowseAPI = BrowseApi
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import com.adamratzman.spotify.http.encodeUrl
10
10
import com.adamratzman.spotify.models.PlaylistUri
11
11
import com.adamratzman.spotify.models.UserUri
12
12
import com.adamratzman.spotify.models.serialization.toList
13
- import kotlinx.serialization.list
14
- import kotlinx.serialization.serializer
13
+ import kotlinx.serialization.builtins. list
14
+ import kotlinx.serialization.builtins. serializer
15
15
16
16
@Deprecated(" Endpoint name has been updated for kotlin convention consistency" , ReplaceWith (" FollowingApi" ))
17
17
typealias FollowingAPI = FollowingApi
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import com.adamratzman.spotify.models.serialization.toObject
21
21
import com.adamratzman.spotify.models.serialization.toPagingObject
22
22
import com.adamratzman.spotify.utils.Market
23
23
import com.adamratzman.spotify.utils.catch
24
- import kotlinx.serialization.list
24
+ import kotlinx.serialization.builtins. list
25
25
26
26
@Deprecated(" Endpoint name has been updated for kotlin convention consistency" , ReplaceWith (" PlaylistApi" ))
27
27
typealias PlaylistAPI = PlaylistApi
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import com.adamratzman.spotify.models.serialization.createMapSerializer
21
21
import com.adamratzman.spotify.models.serialization.toPagingObject
22
22
import com.adamratzman.spotify.utils.Market
23
23
import kotlinx.serialization.json.JsonObject
24
- import kotlinx.serialization.serializer
24
+ import kotlinx.serialization.builtins. serializer
25
25
26
26
@Deprecated(" Endpoint name has been updated for kotlin convention consistency" , ReplaceWith (" SearchApi" ))
27
27
typealias SearchAPI = SearchApi
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ import kotlinx.serialization.Decoder
6
6
import kotlinx.serialization.Encoder
7
7
import kotlinx.serialization.KSerializer
8
8
import kotlinx.serialization.SerialDescriptor
9
- import kotlinx.serialization.Serializable
10
9
import kotlinx.serialization.Serializer
11
10
import kotlinx.serialization.internal.StringDescriptor
11
+ import kotlinx.serialization.Serializable
12
12
13
13
/* *
14
14
* Exception instantiating or deserializing a uri perceived as invalid
You can’t perform that action at this time.
0 commit comments