Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-12417

streams module should use `testRuntimeClasspath` instead of `testRuntime` configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      The streams module has the following code:

      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'
      } 

      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.

      Attachments

        Issue Links

          Activity

            People

              dejan2609 Dejan Stojadinović
              ijuma Ismael Juma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: