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

Refactor build.gradle to align gradle swagger plugin with swagger dependencies

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.7.0
    • build
    • None

    Description

      We use both the Swagger Gradle plugin "io.swagger.core.v3.swagger-gradle-plugin" and 2 Swagger dependencies swaggerAnnotations and swaggerJaxrs2. The version for the Gradle plugin is in build.gradle while the version for the dependency is in gradle/dependencies.gradle.

      When we upgrade the version of one or the other it sometimes cause build breakages, for example https://github.com/apache/kafka/pull/13387 and https://github.com/apache/kafka/pull/14464

      We should try to have the version defined in a single place to avoid breaking the build again.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            atusharm Atul Sharma
            mimaison Mickael Maison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment