Uploaded image for project: 'Polygene'
  1. Polygene
  2. POLYGENE-254

Source distribution contains Gradle wrapper files including JARs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None

    Description

      The usual Gradle wrapper for the whole build at repository's root:

      gradlew
      gradlew.bat
      gradle/wrapper/gradle-wrapper.jar
      gradle/wrapper/gradle-wrapper.properties
      

      The project generator also includes a Gradle wrapper:

      tools/generator-polygene/app/templates/build/gradlew.tmpl
      tools/generator-polygene/app/templates/build/gradlew-bat.tmpl
      tools/generator-polygene/app/templates/build/gradle-wrapper.jar_
      tools/generator-polygene/app/templates/build/gradle-wrapper.properties_
      

      All these files should be removed from the source distribution.

      But, an easy bootstrap mechanism to bootstrap the Gradle wrapper of the required Gradle version should be provided.

      As part of this issue, the wrapper duplication should be fixed so the project generator for a given Polygene version produces builds that use the version of Gradle required to build Polygene. Users are then free to upgrade the wrapper in their project.

      Attachments

        Activity

          People

            eskatos Paul Merlin
            eskatos Paul Merlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: