-
-
Notifications
You must be signed in to change notification settings - Fork 759
Provide Gradle wrapper with each exercise to simplify local development environment #2655
Copy link
Copy link
Closed
Labels
x:action/improveImprove existing functionality/contentImprove existing functionality/contentx:knowledge/intermediateQuite a bit of Exercism knowledge requiredQuite a bit of Exercism knowledge requiredx:module/concept-exerciseWork on Concept ExercisesWork on Concept Exercisesx:module/practice-exerciseWork on Practice ExercisesWork on Practice Exercisesx:size/largeLarge amount of workLarge amount of workx:type/codingWrite code that is not student-facing content (e.g. test-runners, generators, but not exercises)Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)
Metadata
Metadata
Assignees
Labels
x:action/improveImprove existing functionality/contentImprove existing functionality/contentx:knowledge/intermediateQuite a bit of Exercism knowledge requiredQuite a bit of Exercism knowledge requiredx:module/concept-exerciseWork on Concept ExercisesWork on Concept Exercisesx:module/practice-exerciseWork on Practice ExercisesWork on Practice Exercisesx:size/largeLarge amount of workLarge amount of workx:type/codingWrite code that is not student-facing content (e.g. test-runners, generators, but not exercises)Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)
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:
gradleto instead use./gradlew(or./gradlew.baton Windows).Additionally, https://github.com/exercism/cli can be updated to use the Gradle wrapper when running
exercism teston Java exercises.