build code cleanup
@@ -57,19 +57,15 @@ repositories {
val twelvemonkeysVersion = "3.9.3"
val junitVersion = "5.9.1"
+val junitPlatformLauncher = "1.9.1"
dependencies {
implementation("com.twelvemonkeys.imageio:imageio-core:$twelvemonkeysVersion") // https://github.com/haraldk/TwelveMonkeys/releases
- // TODO Apache Batik is bundled with IJ and IJ-based IDEs (tested with PyCharm Community). If needed, see how to
- // integrate org.apache.xmlgraphics:batik-all:1.14 without failing to load org.apache.batik.anim.dom.SAXSVGDocumentFactory
implementation("com.twelvemonkeys.imageio:imageio-batik:$twelvemonkeysVersion") // SVG support
testImplementation("org.junit.jupiter:junit-jupiter-api:$junitVersion")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junitVersion")
-
- // TODO check JUnit and Gradle updates and remove this workaround asap
- // gradle 7.5 + JUnit workaround for NoClassDefFoundError: org/junit/platform/launcher/LauncherSessionListener
- testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.9.1")
+ testRuntimeOnly("org.junit.platform:junit-platform-launcher:$junitPlatformLauncher")
}
intellij {
@@ -144,12 +140,6 @@ tasks {
}
withType<Test> {
useJUnitPlatform()
-
- // TODO check JUnit and Gradle updates and remove this workaround asap
- // gradle 7.5 + JUnit workaround https://docs.gradle.org/7.5/userguide/upgrading_version_7.html#removes_implicit_add_opens_for_test_workers
- jvmArgs("--add-opens=java.base/java.io=ALL-UNNAMED")
- jvmArgs("--add-opens=java.base/java.lang=ALL-UNNAMED")
- jvmArgs("--add-opens=java.base/java.util=ALL-UNNAMED")
}
jacocoTestReport {
reports {
