AMLSim / jars /junit5-r5.10.2 /junit-platform-reporting /junit-platform-reporting.gradle.kts
dingyiz's picture
Upload folder using huggingface_hub
2795186 verified
plugins {
id("junitbuild.java-library-conventions")
id("junitbuild.shadow-conventions")
}
description = "JUnit Platform Reporting"
dependencies {
api(platform(projects.junitBom))
api(projects.junitPlatformLauncher)
compileOnlyApi(libs.apiguardian)
shadowed(libs.openTestReporting.events)
osgiVerification(projects.junitJupiterEngine)
osgiVerification(projects.junitPlatformLauncher)
}
tasks {
shadowJar {
relocate("org.opentest4j.reporting", "org.junit.platform.reporting.shadow.org.opentest4j.reporting")
from(projectDir) {
include("LICENSE-open-test-reporting.md")
into("META-INF")
}
}
compileModule {
options.compilerArgs.addAll(listOf(
"--add-modules", "org.opentest4j.reporting.events",
"--add-reads", "${javaModuleName}=org.opentest4j.reporting.events"
))
}
}