Skip to content

Provide Gradle wrapper with each exercise to simplify local development environment #2655

@sanderploegsma

Description

@sanderploegsma

Inspired by this post on the forum, the process of setting up a local development environment for exercises on the Java track can be simplified by using the Gradle wrapper. This means that students only need to install the JDK in order to work on exercises on their local machine.

In order to support this, each exercise should provide the Gradle wrapper, similar to how it's done in the Kotlin track (example).

After this is done for all exercises, the public documentation can be updated to:

  • No longer instruct to install Gradle locally
  • Replace all instructions that use gradle to instead use ./gradlew (or ./gradlew.bat on Windows).

Additionally, https://github.com/exercism/cli can be updated to use the Gradle wrapper when running exercism test on Java exercises.

Metadata

Metadata

Labels

x:action/improveImprove existing functionality/contentx:knowledge/intermediateQuite a bit of Exercism knowledge requiredx:module/concept-exerciseWork on Concept Exercisesx:module/practice-exerciseWork on Practice Exercisesx:size/largeLarge amount of workx:type/codingWrite code that is not student-facing content (e.g. test-runners, generators, but not exercises)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions