Skip to content

Commit d5b9b7b

Browse files
committed
Suppress compiler warnings; update dependencies
1 parent 276f3ec commit d5b9b7b

File tree

4 files changed

+25
-12
lines changed

4 files changed

+25
-12
lines changed

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.gradle.daemon=false

gradle/libs.versions.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[versions]
2-
kotlin = "2.0.20"
2+
kotlin = "2.0.21"
33
kotlintestRunnerJunit5 = "3.4.2"
4-
moshiKotlin = "1.15.1"
5-
okhttpBom = "4.12.0"
4+
squareupMoshiKotlin = "1.15.1"
5+
squareupOkhttpBom = "4.12.0"
66

77
[libraries]
88
kotlintest-runner-junit5 = { module = "io.kotlintest:kotlintest-runner-junit5", version.ref = "kotlintestRunnerJunit5" }
9-
moshi-kotlin = { module = "com.squareup.moshi:moshi-kotlin", version.ref = "moshiKotlin" }
10-
okhttp3-bom = { module = "com.squareup.okhttp3:okhttp-bom", version.ref = "okhttpBom" }
11-
okhttp3 = { module = "com.squareup.okhttp3:okhttp" }
9+
squareup-moshi-kotlin = { module = "com.squareup.moshi:moshi-kotlin", version.ref = "squareupMoshiKotlin" }
10+
squareup-okhttp3-bom = { module = "com.squareup.okhttp3:okhttp-bom", version.ref = "squareupOkhttpBom" }
11+
squareup-okhttp3 = { module = "com.squareup.okhttp3:okhttp" }
1212

1313
[plugins]
1414
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
#Sun Dec 15 17:37:56 PST 2024
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
4-
networkTimeout=10000
5-
validateDistributionUrl=true
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
65
zipStoreBase=GRADLE_USER_HOME
76
zipStorePath=wrapper/dists

lib/build.gradle.kts

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
12

23
plugins {
34
alias(libs.plugins.kotlin.jvm)
@@ -11,9 +12,21 @@ tasks.test {
1112
useJUnitPlatform()
1213
}
1314

15+
tasks.named<KotlinCompilationTask<*>>("compileTestKotlin").configure {
16+
compilerOptions {
17+
suppressWarnings = true
18+
}
19+
}
20+
21+
tasks.named<KotlinCompilationTask<*>>("compileKotlin").configure {
22+
compilerOptions {
23+
suppressWarnings = true
24+
}
25+
}
26+
1427
dependencies {
15-
implementation(libs.moshi.kotlin)
16-
implementation(platform(libs.okhttp3.bom))
17-
implementation(libs.okhttp3)
28+
implementation(libs.squareup.moshi.kotlin)
29+
implementation(platform(libs.squareup.okhttp3.bom))
30+
implementation(libs.squareup.okhttp3)
1831
testImplementation(libs.kotlintest.runner.junit5)
1932
}

0 commit comments

Comments
 (0)