NoIssue: Bump to junit-bom:6.0.2

This commit is contained in:
2026-01-27 11:06:41 +01:00
parent 9ba6829d69
commit c66aabd6fc

View File

@@ -29,21 +29,22 @@ repositories {
dependencies { dependencies {
// The test classes are compiled with these: // The test classes are compiled with these:
implementation("com.r35157.nenjim:hubd-api:0.0.0") implementation("com.r35157.nenjim:hubd-api:0.1-dev")
implementation("com.r35157.nenjim:hubd-impl-ref:0.0.0") implementation("com.r35157.nenjim:hubd-impl-ref:0.1-dev")
implementation("org.jetbrains:annotations:26.0.1")
// The JUnit platform will not be included in the JAR file but are needed for running the tests: // The JUnit platform will not be included in the JAR file but are needed for running the tests:
testImplementation(platform("org.junit:junit-bom:5.11.4")) testImplementation(platform("org.junit:junit-bom:6.0.2"))
testImplementation("org.junit.jupiter:junit-jupiter") testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher") testRuntimeOnly("org.junit.platform:junit-platform-launcher")
compileOnly("org.jetbrains:annotations:26.0.2-1")
} }
java { java {
toolchain { languageVersion.set(JavaLanguageVersion.of(25)) } toolchain { languageVersion.set(JavaLanguageVersion.of(25)) }
} }
tasks.withType<JavaCompile>.configureEach { tasks.withType<JavaCompile>().configureEach {
options.release.set(25) options.release.set(25)
} }