You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2021/03/24 09:17:53 UTC

[calcite] 01/01: Repalce testRuntime with runtimeElements and testRuntimeClasspath for Gradle 7 compatibility

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

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

commit 7f65cf2bfe2acd8d86773651527e2371492422db
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Wed Mar 24 10:12:17 2021 +0300

    Repalce testRuntime with runtimeElements and testRuntimeClasspath for Gradle 7 compatibility
---
 build.gradle.kts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/build.gradle.kts b/build.gradle.kts
index 138a391..a0d2ca6 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -790,7 +790,10 @@ allprojects {
         }
 
         val testClasses by configurations.creating {
-            extendsFrom(configurations["testRuntime"])
+            isCanBeConsumed = true
+            isCanBeResolved = false
+            extendsFrom(configurations["runtimeElements"])
+            extendsFrom(configurations["testRuntimeClasspath"])
         }
 
         val archives by configurations.getting