You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Dejan Stojadinović (Jira)" <ji...@apache.org> on 2021/04/02 20:15:00 UTC
[jira] [Assigned] (KAFKA-12417) streams module should use
`testRuntimeClasspath` instead of `testRuntime` configuration
[ https://issues.apache.org/jira/browse/KAFKA-12417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dejan Stojadinović reassigned KAFKA-12417:
------------------------------------------
Assignee: Dejan Stojadinović
> 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
> Assignee: Dejan Stojadinović
> Priority: Major
>
> 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)