Add gradle wrapper to allow anyone to build the project without having Gradle installed

Issue #474 resolved
Christopher Keil repo owner created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Build the project without Gradle installed.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Open command line.
  2. Move to root dir of project.
  3. Attempt to build project.

CURRENT BEHAVIOR

No solution to build the project without Gradle installed.

EXPECTED BEHAVIOR

I can use an existing script to build the project. Gradle wrapper provides this script and allows running it on Windows, Linux and OSX.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

In root dir of project simply run following command: gradle wrapper --gradle-version [gradle-version-num]

The wrapper will get created and it can be merged into the repo for anyone to use.

FILES AFFECTED (where the changes will be implemented) - developers only e.g. selectColor.java & settingsPanel.java

LEVEL OF EFFORT - developers only

trivial

COMMENTS

Reference: https://spring.io/guides/gs/gradle/

Comments (6)

  1. Christopher Keil reporter

    Added ability to build without Gradle install

    Created a Gradle wrapper which can be used on Windowds, macOS, Linux in order to enable building the project (and runnable JAR) for anyone without having Gradle installed.

    Resolves #474

    → <<cset 44fb4280a084>>

  2. Christopher Keil reporter

    Added ability to build without Gradle install

    Created a Gradle wrapper which can be used on Windowds, macOS, Linux in order to enable building the project (and runnable JAR) for anyone without having Gradle installed.

    Resolves #474

    → <<cset 44fb4280a084>>

  3. Log in to comment