File tree Expand file tree Collapse file tree 3 files changed +4
-14
lines changed
src/commonMain/kotlin/com.adamratzman.spotify Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ plugins {
9
9
id(" io.codearte.nexus-staging" ) version " 0.21.2"
10
10
kotlin(" multiplatform" ) version " 1.3.72"
11
11
kotlin(" plugin.serialization" ) version " 1.3.72"
12
- id(" com.diffplug.gradle.spotless" ) version " 3.28.1 "
12
+ id(" com.diffplug.gradle.spotless" ) version " 4.4.0 "
13
13
id(" com.moowork.node" ) version " 1.3.1"
14
14
id(" org.jetbrains.dokka" ) version " 0.10.1"
15
15
}
16
16
17
17
group = " com.adamratzman"
18
- version = " 3.1.01 "
18
+ version = " 3.1.02 "
19
19
20
20
java {
21
21
withSourcesJar()
@@ -56,9 +56,9 @@ kotlin {
56
56
57
57
targets {
58
58
sourceSets {
59
- val coroutineVersion = " 1.3.5 "
59
+ val coroutineVersion = " 1.3.7 "
60
60
val serializationVersion = " 0.20.0"
61
- val spekVersion = " 2.0.10 "
61
+ val spekVersion = " 2.0.11 "
62
62
val ktorVersion = " 1.3.2"
63
63
64
64
val commonMain by getting {
Original file line number Diff line number Diff line change @@ -102,13 +102,6 @@ enum class SpotifyScope(val uri: String) {
102
102
*/
103
103
USER_READ_PRIVATE (" user-read-private" ),
104
104
105
- /* *
106
- * Read access to the user's birthdate.
107
- *
108
- * **Visible to users**: Receive your birthdate.
109
- */
110
- USER_READ_BIRTHDATE (" user-read-birthdate" ),
111
-
112
105
/* *
113
106
* Read access to user’s email address.
114
107
*
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import kotlinx.serialization.Serializable
8
8
/* *
9
9
* Private information about a Spotify user. Each field may require a specific scope.
10
10
*
11
- * @property birthdate The user’s date-of-birth. This field is only available when the current user
12
- * has granted access to the [SpotifyScope.USER_READ_BIRTHDATE] scope.
13
11
* @property country The country of the user, as set in the user’s account profile. An ISO 3166-1 alpha-2
14
12
* country code. This field is only available when the current user has granted access to the [SpotifyScope.USER_READ_PRIVATE] scope.
15
13
* @property displayName The name displayed on the user’s profile. null if not available.
@@ -32,7 +30,6 @@ data class SpotifyUserInformation(
32
30
override val id : String ,
33
31
override val uri : UserUri ,
34
32
35
- val birthdate : String? = null ,
36
33
val country : String? = null ,
37
34
@SerialName(" display_name" ) val displayName : String? = null ,
38
35
val email : String? = null ,
You can’t perform that action at this time.
0 commit comments