Slackbot
04/27/2022, 1:27 AMFleshgrinder
04/27/2022, 6:01 AMephemient
04/27/2022, 6:55 AMplugin {
id("java-test-fixtures")
}
dependencies {
testFixturesApi(libs.junit.jupiter.api)
testFixturesRuntimeOnly(libs.junit.jupiter.engine)
}
or something along those lines, and depend on that?Fleshgrinder
04/27/2022, 6:57 AMdependencies {
testImplementation(libs.test.implementation)
testRuntimeOnly(libs.test.runtime)
}
That said, you actually don't have to include engine in the runtime dependencies for JUnit to work correctly. Just import the BOM (aka. Platform) and tell Gradle to use JUnit 5, should be enough. Maybe you need the API, don't remember.Chris
04/27/2022, 3:57 PM