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 02:04:47 UTC
[groovy] branch GROOVY_2_5_X updated: GROOVY-9619: Adjust pom for
groovy-test-junit5 so that junit-jupiter-api is compile time not runtime
(port to 2_5_X)
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
new 4fce4eb GROOVY-9619: Adjust pom for groovy-test-junit5 so that junit-jupiter-api is compile time not runtime (port to 2_5_X)
4fce4eb is described below
commit 4fce4ebc73e256cd2b2128e7926dbf73a24eab53
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 (port to 2_5_X)
---
subprojects/groovy-test-junit5/build.gradle | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/subprojects/groovy-test-junit5/build.gradle b/subprojects/groovy-test-junit5/build.gradle
index c37e9a6..2794383 100644
--- a/subprojects/groovy-test-junit5/build.gradle
+++ b/subprojects/groovy-test-junit5/build.gradle
@@ -18,14 +18,22 @@
*/
ext {
- junit5Version = '5.4.0'
- junit5PlatformVersion = '1.4.0'
+ junit5Version = '5.4.2'
+ junit5PlatformVersion = '1.4.2'
}
dependencies {
compile rootProject
- compile "org.junit.platform:junit-platform-launcher:$junit5PlatformVersion"
- runtime "org.junit.jupiter:junit-jupiter-engine:$junit5Version"
+ compile("org.junit.jupiter:junit-jupiter-api:$junit5Version") {
+ exclude(group: 'org.apiguardian', module: 'apiguardian-api')
+ exclude(group: 'org.junit.platform', module: 'junit-platform-commons')
+ }
+ compile("org.junit.platform:junit-platform-launcher:$junit5PlatformVersion") {
+ exclude(group: 'org.apiguardian', module: 'apiguardian-api')
+ }
+ runtime("org.junit.jupiter:junit-jupiter-engine:$junit5Version") {
+ exclude(group: 'org.apiguardian', module: 'apiguardian-api')
+ }
testCompile "org.junit.jupiter:junit-jupiter-params:$junit5Version"
testRuntime "org.junit.platform:junit-platform-engine:$junit5PlatformVersion"
testRuntime "org.junit.platform:junit-platform-runner:$junit5PlatformVersion"