File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
apprunner/gradle-plugin/src/test/java/org/apache/polaris/apprunner/plugin Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ void setup() throws Exception {
8989 Arrays .asList (
9090 "plugins {" ,
9191 " id 'java'" ,
92+ " id 'jvm-test-suite'" ,
9293 " id 'org.apache.polaris.apprunner'" ,
9394 "}" ,
9495 "" ,
@@ -97,13 +98,15 @@ void setup() throws Exception {
9798 " mavenCentral()" ,
9899 "}" ,
99100 "" ,
100- "test {" ,
101- " useJUnitPlatform()" ,
101+ "testing {" ,
102+ " suites.withType(JvmTestSuite) {" ,
103+ " useJUnitJupiter('" + junitVersion + "')" ,
104+ " }" ,
102105 "}" ,
103106 "" ,
104107 "dependencies {" ,
105- " testImplementation 'org.junit.jupiter :junit-jupiter-api :" + junitVersion + "'" ,
106- " testImplementation 'org.junit.jupiter:junit-jupiter-engine:" + junitVersion + " '" ,
108+ " testImplementation platform( 'org.junit:junit-bom :" + junitVersion + "') " ,
109+ " testImplementation 'org.junit.jupiter:junit-jupiter-api '" ,
107110 " testImplementation 'org.projectnessie.nessie:nessie-client:"
108111 + nessieVersionForTest
109112 + "'" );
You can’t perform that action at this time.
0 commit comments