Add ScalarDB to Your Build
The ScalarDB library is available on the Maven Central Repository. You can add the library as a build dependency to your application by using Gradle or Maven.
Configure your application based on your build tool
Select your build tool, and follow the instructions to add the build dependency for ScalarDB to your application.
- Gradle
- Maven
To add the build dependency for ScalarDB by using Gradle, add the following to build.gradle
in your application, replacing <VERSION>
with the version of ScalarDB that you want to use:
dependencies {
implementation 'com.scalar-labs:scalardb:<VERSION>'
}
To add the build dependency for ScalarDB by using Maven, add the following to pom.xml
in your application, replacing <VERSION>
with the version of ScalarDB that you want to use:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb</artifactId>
<version><VERSION></version>
</dependency>