File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,9 @@ plugins {
1212}
1313
1414java {
15- sourceCompatibility = JavaVersion .VERSION_1_8
16- targetCompatibility = JavaVersion .VERSION_1_8
15+ toolchain {
16+ languageVersion.set(JavaLanguageVersion .of(8 ))
17+ }
1718}
1819
1920dependencies {
@@ -59,7 +60,7 @@ dependencies {
5960 implementation(" org.slf4j:slf4j-api" ) {
6061 version {
6162 strictly(" [1.7,3)" )
62- prefer(" 2.0.3 " )
63+ prefer(" 2.0.5 " )
6364 }
6465 }
6566 }
@@ -87,8 +88,13 @@ dependencies {
8788 testImplementation(" de.gesellix:docker-registry:2022-10-01T21-12-00" )
8889}
8990
90- tasks.withType(Test ::class ) {
91- useJUnitPlatform()
91+ tasks {
92+ withType<JavaCompile > {
93+ options.encoding = " UTF-8"
94+ }
95+ withType<Test > {
96+ useJUnitPlatform()
97+ }
9298}
9399
94100val javadocJar by tasks.registering(Jar ::class ) {
You can’t perform that action at this time.
0 commit comments