You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2021/03/04 13:53:00 UTC

[jira] [Created] (KAFKA-12417) streams module should use `testRuntimeClasspath` instead of `testRuntime` configuration

Ismael Juma created KAFKA-12417:
-----------------------------------

             Summary: streams module should use `testRuntimeClasspath` instead of `testRuntime` configuration
                 Key: KAFKA-12417
                 URL: https://issues.apache.org/jira/browse/KAFKA-12417
             Project: Kafka
          Issue Type: Improvement
            Reporter: Ismael Juma


The streams module has the following code:
{code:java}
tasks.create(name: "copyDependantLibs", type: Copy) {
  from (configurations.testRuntime) {
    include('slf4j-log4j12*')
    include('log4j*jar')
    include('*hamcrest*')
  }
  from (configurations.runtimeClasspath) {
    exclude('kafka-clients*')
  }
  into "$buildDir/dependant-libs-${versions.scala}"
  duplicatesStrategy 'exclude'
} {code}
{{configurations.testRuntime}} should be changed to {{configurations.testRuntimeClasspath}} as the former has been removed in Gradle 7.0, but this causes a cyclic build error.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)