Skip to content

Commit 4fc43bd

Browse files
Upgrade libraries
1 parent bcefd40 commit 4fc43bd

File tree

5 files changed

+15
-44
lines changed

5 files changed

+15
-44
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/captures
1010
.externalNativeBuild
1111
.cxx
12+
.kotlin
1213
local.properties
1314
xcuserdata/
1415
project.xcworkspace/

gradle/libs.versions.toml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,23 @@
11
[versions]
2-
kotlin = "1.9.23"
2+
kotlin = "2.0.21"
33
spotless = "6.23.3"
4-
ben-manes-versions = "0.50.0"
4+
ben-manes-versions = "0.51.0"
55
dokka = "1.9.20"
6-
nexus = "1.3.0"
7-
kotlinx-datetime = "0.5.0"
8-
kotlinx-serialization = "1.6.3"
9-
coroutines = "1.8.0"
10-
ktor = "2.3.10"
11-
ktlint = "0.49.1"
12-
junit-jupiter = "5.10.2"
13-
truth = "1.4.2"
6+
kotlinx-datetime = "0.6.1"
7+
kotlinx-serialization = "1.7.3"
8+
coroutines = "1.9.0"
9+
ktor = "3.0.1"
10+
ktlint = "1.1.1"
11+
junit-jupiter = "5.11.3"
12+
truth = "1.4.4"
1413
junit = "4.13.2"
15-
mockito-kotlin = "5.1.0"
16-
mockito-inline = "5.2.0"
17-
maven-publish = "0.25.3"
14+
maven-publish = "0.30.0"
1815

1916
[plugins]
20-
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
21-
kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
2217
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
2318
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
24-
kotlin-gradle-plugin = { id = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
2519
ben-manes-versions = { id = "com.github.ben-manes.versions", version.ref = "ben-manes-versions" }
2620
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
27-
nexus = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "nexus" }
2821
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
2922
maven-publish = { id = "com.vanniktech.maven.publish", version.ref = "maven-publish" }
3023

@@ -51,7 +44,4 @@ junit = { module = "junit:junit", version.ref = "junit" }
5144

5245
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit-jupiter" }
5346
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit-jupiter" }
54-
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit-jupiter" }
5547
truth = { module = "com.google.truth:truth", version.ref = "truth" }
56-
mockito-inline = { module = "org.mockito:mockito-inline", version.ref = "mockito-inline" }
57-
mockito-kotlin = { module = "org.mockito.kotlin:mockito-kotlin", version.ref = "mockito-kotlin" }

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

lib/src/commonMain/kotlin/app/moviebase/trakt/TraktClientConfig.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import io.ktor.client.HttpClientConfig
66
import io.ktor.client.engine.HttpClientEngineConfig
77
import io.ktor.client.engine.HttpClientEngineFactory
88
import io.ktor.client.plugins.auth.providers.BearerTokens
9-
import io.ktor.client.plugins.logging.Logging
9+
import io.ktor.client.plugins.logging.LoggingConfig
1010

1111
@TraktDsl
1212
class TraktClientConfig {
@@ -23,13 +23,13 @@ class TraktClientConfig {
2323

2424
internal var httpClientConfigBlock: (HttpClientConfig<*>.() -> Unit)? = null
2525
internal var httpClientBuilder: (() -> HttpClient)? = null
26-
internal var httpClientLoggingBlock: (Logging.Config.() -> Unit)? = null
26+
internal var httpClientLoggingBlock: (LoggingConfig.() -> Unit)? = null
2727

2828
fun userAuthentication(block: TraktAuthCredentials.() -> Unit) {
2929
traktAuthCredentials = TraktAuthCredentials().apply(block)
3030
}
3131

32-
fun logging(block: Logging.Config.() -> Unit) {
32+
fun logging(block: LoggingConfig.() -> Unit) {
3333
httpClientLoggingBlock = block
3434
}
3535

lib/src/commonMain/kotlin/app/moviebase/trakt/core/DateTimeExtensions.kt

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)