1. Build automation
See UsingGradle.adoc to learn how to use Gradle for build automation.
2. Continuous integration
We use Travis to perform continuous integration on our projects. See UsingTravis.adoc for more details.
3. Documentation previews
When a pull request has changes to asciidoc files, you can use Netlify to see a preview of how the HTML version of those asciidoc files will look like when the pull request is merged. See UsingNetlify.adoc for more details.
4. Making a release
Here are the steps to create a new release.
-
Update the version number in
MainApp.java
. -
Generate a jar file using Gradle.
-
Tag the repo with the version number. e.g.
v0.1
-
Create a new release using GitHub and upload the JAR file you created.
5. Managing dependencies
A project often depends on third-party libraries. For example, this project depends on the Jackson library for JSON parsing. Managing these dependencies can be automated using Gradle.