...
- Create a branch for the release:
git checkout -b $VERSION-RC
- Set the final release version number in the gradle.properties file
- Update the copyright year tags in the source files by
- Adjusting the year in the updateLicenseHeaderYear task
./gradlew updateLicenseHeaderYear
- Modify the HISTORY file
Execute a build to update version strings etc. (you may want to skip checks and tests by adding "-x check -x test"):
./gradlew clean distribute -x check -x test
- Commit the changes
- Push the branch
git push -u origin $VERSION
...
- Manually inspect contents
- Test Eclipse import as Gradle project (only complete project; not needed/working for every example)
- Test build:
./gradlew clean build -x check -x test distribute
- Execute all JUnit tests from within Eclipse (this may reveal missing runtime dependencies in Eclipse (.classpath file))
...