polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Merlin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (POLYGENE-254) Source distribution contains Gradle wrapper files including JARs
Date Sun, 21 May 2017 10:51:04 GMT
Paul Merlin created POLYGENE-254:
------------------------------------

             Summary: Source distribution contains Gradle wrapper files including JARs
                 Key: POLYGENE-254
                 URL: https://issues.apache.org/jira/browse/POLYGENE-254
             Project: Polygene
          Issue Type: Bug
            Reporter: Paul Merlin
             Fix For: 3.0.0


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

{code}
gradlew
gradlew.bat
gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-wrapper.properties
{code}

The project generator also includes a Gradle wrapper:

{code}
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_
{code}

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.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message