You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/07/04 01:10:51 UTC

[groovy] branch GROOVY_3_0_X updated: GROOVY-9619: Adjust pom for groovy-test-junit5 so that junit-jupiter-api is compile time not runtime

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
     new 7f99761  GROOVY-9619: Adjust pom for groovy-test-junit5 so that junit-jupiter-api is compile time not runtime
7f99761 is described below

commit 7f99761f7975dbda0c1d75c0e48326ca465ed135
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sat Jul 4 11:10:43 2020 +1000

    GROOVY-9619: Adjust pom for groovy-test-junit5 so that junit-jupiter-api is compile time not runtime
---
 subprojects/groovy-test-junit5/build.gradle | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/subprojects/groovy-test-junit5/build.gradle b/subprojects/groovy-test-junit5/build.gradle
index ea3a530..d998353 100644
--- a/subprojects/groovy-test-junit5/build.gradle
+++ b/subprojects/groovy-test-junit5/build.gradle
@@ -19,6 +19,10 @@
 
 dependencies {
     api rootProject // JUnit5Runner implements GroovyRunner...
+    api("org.junit.jupiter:junit-jupiter-api:$junit5Version") {
+        exclude(group: 'org.apiguardian', module: 'apiguardian-api')
+        exclude(group: 'org.junit.platform', module: 'junit-platform-commons')
+    }
     implementation("org.junit.platform:junit-platform-launcher:$junit5PlatformVersion") {
         exclude(group: 'org.apiguardian', module: 'apiguardian-api')
     }