|
2 | 2 | import com.google.protobuf.gradle.*
|
3 | 3 | import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
4 | 4 | import org.gradle.language.jvm.tasks.ProcessResources
|
| 5 | +import org.jetbrains.kotlin.gradle.dsl.JvmTarget |
5 | 6 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
6 | 7 |
|
7 | 8 | plugins {
|
8 |
| - kotlin("jvm") version "1.9.20" |
| 9 | + kotlin("jvm") version "2.2.10" |
9 | 10 | idea
|
10 | 11 | id("com.github.johnrengelman.shadow") version "7.1.2"
|
11 | 12 | id("org.jlleitschuh.gradle.ktlint") version "11.0.0"
|
@@ -34,17 +35,17 @@ configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
|
34 | 35 | dependencies {
|
35 | 36 | protobuf(files("api-interface-definitions/protos/"))
|
36 | 37 | testImplementation("junit:junit:4.13.2")
|
37 |
| - testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0") |
| 38 | + testImplementation("com.squareup.okhttp3:mockwebserver:5.1.0") |
38 | 39 | testImplementation("io.mockk:mockk:1.13.2")
|
39 | 40 | testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4")
|
40 | 41 | testImplementation("io.grpc:grpc-testing:1.71.0")
|
41 |
| - implementation("com.google.code.gson:gson:2.9.0") |
| 42 | + implementation("com.google.code.gson:gson:2.13.1") |
42 | 43 | implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
|
43 | 44 | implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.4")
|
44 |
| - implementation("com.squareup.okhttp3:okhttp:4.12.0") |
| 45 | + implementation("com.squareup.okhttp3:okhttp:5.1.0") |
45 | 46 | implementation("com.github.ua-parser:uap-java:1.6.1")
|
46 | 47 | implementation("com.statsig:ip3country:0.1.5")
|
47 |
| - implementation("com.squareup.okhttp3:logging-interceptor:4.12.0") |
| 48 | + implementation("com.squareup.okhttp3:logging-interceptor:5.1.0") |
48 | 49 | implementation("org.jetbrains.kotlin:kotlin-reflect")
|
49 | 50 | // GRPC Dependencies
|
50 | 51 | implementation("io.grpc:grpc-netty-shaded:1.71.0")
|
@@ -86,7 +87,9 @@ inline fun <reified C> Project.configure(name: String, configuration: C.() -> Un
|
86 | 87 | }
|
87 | 88 |
|
88 | 89 | tasks.withType<KotlinCompile>() {
|
89 |
| - kotlinOptions.jvmTarget = "1.8" |
| 90 | + compilerOptions { |
| 91 | + jvmTarget.set(JvmTarget.JVM_1_8) |
| 92 | + } |
90 | 93 | }
|
91 | 94 |
|
92 | 95 | java {
|
|
0 commit comments