You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by em...@apache.org on 2019/11/27 19:33:09 UTC

[groovy] 01/01: GROOVY-9174: try junit-platform-launcher as compile-time-only dependency

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

emilles pushed a commit to branch GROOVY-9174
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 638d525ea312bbf0f59981b9c62a2a4193990c20
Author: Eric Milles <er...@thomsonreuters.com>
AuthorDate: Wed Nov 27 13:26:39 2019 -0600

    GROOVY-9174: try junit-platform-launcher as compile-time-only dependency
---
 subprojects/groovy-test-junit5/build.gradle | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/subprojects/groovy-test-junit5/build.gradle b/subprojects/groovy-test-junit5/build.gradle
index 50ea702..f7f91a7 100644
--- a/subprojects/groovy-test-junit5/build.gradle
+++ b/subprojects/groovy-test-junit5/build.gradle
@@ -24,12 +24,13 @@ ext {
 
 dependencies {
     implementation rootProject
-    compile "org.junit.platform:junit-platform-launcher:$junit5PlatformVersion"
-    runtime "org.junit.jupiter:junit-jupiter-engine:$junit5Version"
-    testImplementation "org.junit.jupiter:junit-jupiter-params:$junit5Version"
-    testRuntime "org.junit.platform:junit-platform-engine:$junit5PlatformVersion"
-    testRuntime "org.junit.platform:junit-platform-runner:$junit5PlatformVersion"
+    runtimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit5Version"
+    compileOnly "org.junit.platform:junit-platform-launcher:$junit5PlatformVersion"
+
     testImplementation project(':groovy-test')
+    testImplementation "org.junit.jupiter:junit-jupiter-params:$junit5Version"
+    testRuntimeOnly "org.junit.platform:junit-platform-engine:$junit5PlatformVersion"
+    testRuntimeOnly "org.junit.platform:junit-platform-runner:$junit5PlatformVersion"
 }
 
 tasks.withType(JavaCompile) {