-
Notifications
You must be signed in to change notification settings - Fork 0
Building Rest.li from Source
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 1.20.0.
For details on how to use rest.li via it’s 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 respository with:
git clone git@github.com:linkedin/rest.li.wikiOr if you already have a copy of the repository, you can update with
git pullTo do a clean build type:
gradle clean buildTo install the gradle jars in your own local repository, do:
gradle installIf the build fails with an error message saying that there isn’t enough memory, please increase the memory memory using the following command and try again:
export GRADLE_OPTS="-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=1024M"