Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a branch for the release:
     git checkout -b $VERSION-RC
    
  2. Set the final release version number in the gradle.properties file
  3. Update the copyright year tags in the source files by
    1. Adjusting the year in the updateLicenseHeaderYear task
    2. ./gradlew updateLicenseHeaderYear
  4. Modify the HISTORY file
  5. 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 
  6. Commit the changes
  7. Push the branch
     git push -u origin $VERSION
    

...

  1. Manually inspect contents
  2. Test Eclipse import as Gradle project (only complete project; not needed/working for every example)
  3. Test build:
    ./gradlew clean build -x check -x test distribute
    
  1. Execute all JUnit tests from within Eclipse (this may reveal missing runtime dependencies in Eclipse (.classpath file))

...