Developer guide

This page contains a set of notes for the developers:


In order to make the release:

  • make sure that there are no additional models in the grobid-home (usually is better to have a second cloned project for the relesae)

  • Make the release:

    > ./gradlew release

Note that the release via the gradle wrapper can only work when no prompt for the password is required by git. In practice it means it is necessary to push over ssh.

  • Add the bintray credentials in are in the file ~/.gradle/, like:
bintrayApiKey=the api key 
  • Fetch back the tag and upload the artifacts:
    > git checkout [releasetag]

    > ./gradlew clean build

    > ./gradlew bintray

(This last command needs to be checked, cause the standard task uploadArtifacts could just work)