|
|
@@ -34,7 +34,7 @@ To submit a fix for an existing exercise or port an exercise to Java with the le
|
|
34
|
34
|
(see [exercism.io: Installing Java](http://exercism.io/languages/java/installing))
|
|
35
|
35
|
- **Setup a branch on a fork of [exercism/java](https://github.com/exercism/java) on your computer.**
|
|
36
|
36
|
|
|
37
|
|
- See [GitHub Help: Forking](https://help.github.com/articles/fork-a-repo/). Use those instructions (in conjunction with the [Git basics doc](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/git-basics.md)) to:
|
|
|
37
|
+ See [GitHub Help: Forking](https://help.github.com/articles/fork-a-repo/). Use those instructions (in conjunction with the [Git Basics doc](https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/git-basics.md)) to:
|
|
38
|
38
|
* "fork" a repository on GitHub;
|
|
39
|
39
|
- install `git`;
|
|
40
|
40
|
- "clone" a copy of your fork;
|
|
|
@@ -59,7 +59,7 @@ To submit a fix for an existing exercise or port an exercise to Java with the le
|
|
59
|
59
|
|
|
60
|
60
|
There are two objectives to the design of this build:
|
|
61
|
61
|
|
|
62
|
|
-1. when a problem is built from within the `exercism/java` repo, the tests run against the "example" code (i.e. when you, the contributor, are developing the exercise);
|
|
|
62
|
+1. when a problem is built from within the `exercism/java` repo (i.e. when you, the contributor, are developing the exercise), the tests run against the "example" code;
|
|
63
|
63
|
2. when a problem is built outside the `exercism/java` repo (when a participant is solving the exercise), the tests run against the "main" code.
|
|
64
|
64
|
|
|
65
|
65
|
This repo is a multi-project gradle build.
|
|
|
@@ -68,15 +68,15 @@ This repo is a multi-project gradle build.
|
|
68
|
68
|
|
|
69
|
69
|
This is the top-level module, contained in the `exercises` directory. It is a container for the problem sub-modules.
|
|
70
|
70
|
|
|
71
|
|
- * it's `build.gradle` points the "main" sourceset to the example code.
|
|
72
|
|
- * it's `settings.gradle` names each of the subprojects, one for each problem in the set.
|
|
|
71
|
+ * its `build.gradle` points the "main" sourceset to the example code.
|
|
|
72
|
+ * its `settings.gradle` names each of the subprojects, one for each problem in the set.
|
|
73
|
73
|
|
|
74
|
74
|
### The Problem Submodules
|
|
75
|
75
|
|
|
76
|
76
|
The `exercises` subdirectory contains all of the problem submodules.
|
|
77
|
77
|
Each problem/submodule is a subdirectory of the same name as its slug.
|
|
78
|
78
|
|
|
79
|
|
- * it's `build.gradle` names dependencies required to work that problem.
|
|
|
79
|
+ * its `build.gradle` names dependencies required to work that problem.
|
|
80
|
80
|
|
|
81
|
81
|
Each problem/submodule has three source sets:
|
|
82
|
82
|
|