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

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


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

commit 9116ffb7a70060dea93d9e239997999d484e809f
Author: Paul King <[email protected]>
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')
     }

Reply via email to