This repository was archived by the owner on Nov 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff 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
9191java {
92- sourceCompatibility = JavaVersion .VERSION_1_8
93- targetCompatibility = JavaVersion .VERSION_1_8
92+ toolchain {
93+ languageVersion.set(JavaLanguageVersion .of(8 ))
94+ }
9495}
9596
9697tasks {
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
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ plugins {
55}
66
77java {
8- sourceCompatibility = JavaVersion .VERSION_1_8
9- targetCompatibility = JavaVersion .VERSION_1_8
8+ toolchain {
9+ languageVersion.set(JavaLanguageVersion .of(8 ))
10+ }
1011}
1112
1213repositories {
@@ -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 {
6566tasks.check.get().shouldRunAfter(project(" :engine" ).tasks.check)
6667
6768tasks {
68- withType(Test ::class .java) {
69+ withType<JavaCompile > {
70+ options.encoding = " UTF-8"
71+ }
72+ withType<Test > {
6973 useJUnitPlatform()
7074 }
7175}
You can’t perform that action at this time.
0 commit comments