Java SDK Installation
Requirements
- JDK 11 or later is required
Install the SDK
Add the SDK to your project using your build tool.
Gradle
implementation 'com.github.newline53:newline-java-sdk:main-SNAPSHOT'Maven
<dependency>
<groupId>com.github.newline53</groupId>
<artifactId>newline-java-sdk</artifactId>
<version>main-SNAPSHOT</version>
</dependency>Build from Source (Optional)
After cloning the repository, you can build the SDK artifact locally.
Build the SDK
macOS/Linux
./gradlew buildWindows
gradlew.bat buildPublish to Local Maven Repository (Optional)
You can publish the SDK artifact to your local Maven repository.
macOS/Linux
./gradlew publishToMavenLocal -Pskip.signingWindows
gradlew.bat publishToMavenLocal -Pskip.signing
