- Generate a new JAR file
- Add Increments as PRs:
A-Assertions
,A-CodeQuality
,A-Lambdas
,A-Streams
- Add Increment:
A-CI
- Add an extension
1 Generate a new JAR file
* Generate a new JAR file using Gradle %%(Gradle can bundle the JavaFX third-party library into the jar file. If you do not bundle JavaFX with the JAR file, the application will not work in computers that don't have JavaFX installed)%%. Refer to the [_Gradle tutorial_ @SE-EDU/guides](https://se-education.org/guides/tutorials/gradle.html#creating-a-jar-file) to find how.
==If the `.jar` file is smaller than 10MB==, most likely JavaFX libraries are not inside it. * There is no need to create a release in GitHub with this jar file (although you are welcome to).
==If the `.jar` file is smaller than 10MB==, most likely JavaFX libraries are not inside it. * There is no need to create a release in GitHub with this jar file (although you are welcome to).
2 Add Increments as PRs: A-Assertions
, A-CodeQuality
, A-Lambdas
, A-Streams
- Note how to merge PRs:
- Practice using parallel git branches and PRs, as explained below:
- First, do each increment as a parallel branch (follow the branch naming convention you followed earlier
branch-Level-8
etc.), but do not merge any. - Then, push each branch to your fork, and create a PR within your fork (i.e., from the increment branch to the
master
branch). Be careful not to create a PR to the upstream repo. If you did create such a PR by mistake, no worries, just close it yourself.
- Now, merge one of the PRs and update the remaining PRs accordingly, as given below:
- Merge one of the PRs on GitHub e.g., Level-8. Remember to choose the
Create merge commit
option when merging. - Pull the updated
master
branch from your fork to your Computer. - Note how the remaining un-merged branches are no longer in sync with the latest
master
. To rectify, merge themaster
branch to each of them. Resolve merge conflicts, if any. - Push the updated branches to your fork. The PRs will update automatically to reflect the updated branch.
- As before, tag the merge commit in the master branch and push the tag to your fork.
- Merge one of the PRs on GitHub e.g., Level-8. Remember to choose the
- Merge the remaining PRs using a procedure similar to the above.
3 Add Increment: A-CI
- We recommend that at least one member of the team attempt the following.
4 Add an extension
- Add at least one extension of your choice, selected from category B, C, or D i.e., pick just one item from one category e.g.,
B-DoWithinPeriodTasks
orC-Sort
orD-Places
- Recommended to add the extension via a branch (branch name is up to you). Optional to add it via a PR.
- Add a tag named
BCD-Extension
to the corresponding commit.
Discuss with your team members to ensure that each member picks a different extension.
You may want to pick an extension that is relevant to your tP so that the code can be reused in the tP later, if possible.