Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Commit fea35ac

Browse files
committed
Bump version constraints
1 parent 71cb6cd commit fea35ac

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

engine/build.gradle.kts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919
implementation("org.slf4j:slf4j-api") {
2020
version {
2121
strictly("[1.7,3)")
22-
prefer("2.0.3")
22+
prefer("2.0.5")
2323
}
2424
}
2525
implementation("com.squareup.moshi:moshi") {
@@ -61,7 +61,7 @@ dependencies {
6161
implementation(it) {
6262
version {
6363
strictly("[1.5,1.8)")
64-
prefer("1.7.21")
64+
prefer("1.7.22")
6565
}
6666
}
6767
}
@@ -89,12 +89,16 @@ dependencies {
8989
}
9090

9191
java {
92-
sourceCompatibility = JavaVersion.VERSION_1_8
93-
targetCompatibility = JavaVersion.VERSION_1_8
92+
toolchain {
93+
languageVersion.set(JavaLanguageVersion.of(8))
94+
}
9495
}
9596

9697
tasks {
97-
withType(Test::class.java) {
98+
withType<JavaCompile> {
99+
options.encoding = "UTF-8"
100+
}
101+
withType<Test> {
98102
useJUnitPlatform()
99103

100104
// minimal way of providing a special environment variable for the EnvFileParserTest

integrationtest/build.gradle.kts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ plugins {
55
}
66

77
java {
8-
sourceCompatibility = JavaVersion.VERSION_1_8
9-
targetCompatibility = JavaVersion.VERSION_1_8
8+
toolchain {
9+
languageVersion.set(JavaLanguageVersion.of(8))
10+
}
1011
}
1112

1213
repositories {
@@ -18,7 +19,7 @@ dependencies {
1819
implementation("org.slf4j:slf4j-api") {
1920
version {
2021
strictly("[1.7,3)")
21-
prefer("2.0.3")
22+
prefer("2.0.5")
2223
}
2324
}
2425
listOf(
@@ -48,7 +49,7 @@ dependencies {
4849
implementation(it) {
4950
version {
5051
strictly("[1.5,1.8)")
51-
prefer("1.7.21")
52+
prefer("1.7.22")
5253
}
5354
}
5455
}
@@ -65,7 +66,10 @@ dependencies {
6566
tasks.check.get().shouldRunAfter(project(":engine").tasks.check)
6667

6768
tasks {
68-
withType(Test::class.java) {
69+
withType<JavaCompile> {
70+
options.encoding = "UTF-8"
71+
}
72+
withType<Test> {
6973
useJUnitPlatform()
7074
}
7175
}

0 commit comments

Comments
 (0)