File tree Expand file tree Collapse file tree 4 files changed +25
-12
lines changed Expand file tree Collapse file tree 4 files changed +25
-12
lines changed Original file line number Diff line number Diff line change
1
+ org.gradle.daemon =false
Original file line number Diff line number Diff line change 1
1
[versions ]
2
- kotlin = " 2.0.20 "
2
+ kotlin = " 2.0.21 "
3
3
kotlintestRunnerJunit5 = " 3.4.2"
4
- moshiKotlin = " 1.15.1"
5
- okhttpBom = " 4.12.0"
4
+ squareupMoshiKotlin = " 1.15.1"
5
+ squareupOkhttpBom = " 4.12.0"
6
6
7
7
[libraries ]
8
8
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" }
12
12
13
13
[plugins ]
14
14
kotlin-jvm = { id = " org.jetbrains.kotlin.jvm" , version.ref = " kotlin" }
Original file line number Diff line number Diff line change
1
+ # Sun Dec 15 17:37:56 PST 2024
1
2
distributionBase =GRADLE_USER_HOME
2
3
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
6
5
zipStoreBase =GRADLE_USER_HOME
7
6
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change
1
+ import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
1
2
2
3
plugins {
3
4
alias(libs.plugins.kotlin.jvm)
@@ -11,9 +12,21 @@ tasks.test {
11
12
useJUnitPlatform()
12
13
}
13
14
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
+
14
27
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)
18
31
testImplementation(libs.kotlintest.runner.junit5)
19
32
}
You can’t perform that action at this time.
0 commit comments