You can use the latest released version of Rest.li or build your own local version:
If you are not modifying the Rest.li source code, you don’t need to build Rest.li. You can simply depend on the artifacts in the maven central repository
The current latest version in Maven Central is 2.2.5.
For details on how to use Rest.li from its maven central artifacts, see: Quickstart
You can also checkout, modify, or build your own copy of Rest.li.
You can get your own copy of the Rest.li repository with:
git clone https://github.com/linkedin/rest.li.git
Or if you already have a copy of the repository, you can update it with:
To do a clean build type, do this:
gradle clean build
To install the gradle JARs in your own local repository, do this:
If the build fails with an error message saying that there isn’t enough memory, increase the memory using the following command and try again:
export GRADLE\_OPTS=“-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=1024M”