Skip to content

Commit fc1f971

Browse files
committed
Bump version constraints
1 parent 9a952fc commit fc1f971

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

api-client/build.gradle.kts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ plugins {
1212
}
1313

1414
java {
15-
sourceCompatibility = JavaVersion.VERSION_1_8
16-
targetCompatibility = JavaVersion.VERSION_1_8
15+
toolchain {
16+
languageVersion.set(JavaLanguageVersion.of(8))
17+
}
1718
}
1819

1920
dependencies {
@@ -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

94100
val javadocJar by tasks.registering(Jar::class) {

0 commit comments

Comments
 (0)