Skip to content

Commit d6ba637

Browse files
committed
downgrade kotlin dependency
Signed-off-by: Adam Ratzman <[email protected]>
1 parent 88e3cf0 commit d6ba637

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ A [Kotlin](https://kotlinlang.org/) implementation of the [Spotify Web API](http
33
supporting Kotlin/JS, Kotlin/Android, Kotlin/JVM, and Kotlin/Native
44
(macOS, Windows, Linux).
55

6+
This library has first-class support for Java and is a viable alternative for Java development.
7+
Please see [the Java section](#java) for more details.
8+
69
**Use this library in Kotlin, Java, JavaScript, Swift, or native code!** Because this library targets both iOS and Android, it can also be used in KMM ([Kotlin Multiplatform Mobile](https://kotlinlang.org/lp/mobile/)) applications as a shared source.
710

811
[![JCenter](https://maven-badges.herokuapp.com/maven-central/com.adamratzman/spotify-api-kotlin-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.adamratzman/spotify-api-kotlin-core)
@@ -388,6 +391,9 @@ APIs available only in `SpotifyClientApi` and `SpotifyImplicitGrantApi` instance
388391
## Platform-specific wrappers and information
389392

390393
### Java
394+
This library has first-class support for Java! You have
395+
396+
391397
Unfortunately, coroutines don't play very nicely with Java code. Fortunately, however, we provide a wrapper around Kotlin's
392398
`Continuation` class that allows you to directly implement `onSuccess` and `onFailure` handlers on API methods.
393399

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackOutput.Target
55

66
plugins {
77
// id("lt.petuska.npm.publish") version "1.1.2"
8-
kotlin("multiplatform") version "1.4.32"
8+
kotlin("multiplatform") version "1.4.31"
99
`maven-publish`
1010
signing
1111
id("io.codearte.nexus-staging") version "0.22.0"
@@ -29,7 +29,7 @@ buildscript {
2929
}
3030
dependencies {
3131
classpath("com.android.tools.build:gradle:3.5.4")
32-
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32")
32+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31")
3333
}
3434
}
3535

@@ -216,8 +216,8 @@ kotlin {
216216
val korlibsVersion = "2.0.6"
217217
val sparkVersion = "2.9.3"
218218
val androidSpotifyAuthVersion = "1.2.3"
219-
val androidCryptoVersion = "1.0.0-rc04"
220-
val coroutineMTVersion = "1.4.3-native-mt"
219+
val androidCryptoVersion = "1.1.0-alpha03"
220+
val coroutineMTVersion = "1.4.2-native-mt"
221221

222222
val commonMain by getting {
223223
dependencies {

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pluginManagement {
2-
val mainKotlinVersion = "1.4.32"
2+
val mainKotlinVersion = "1.4.31"
33

44
resolutionStrategy {
55
eachPlugin {

0 commit comments

Comments
 (0)