Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.39 KB

add-scalardb-to-your-build.mdx

File metadata and controls

41 lines (33 loc) · 1.39 KB
tags displayed_sidebar
Community
Enterprise Standard
Enterprise Premium
docsEnglish

Add ScalarDB to Your Build

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

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.

To add the build dependency for ScalarDB by using Gradle, add the following to `build.gradle` in your application, replacing `` with the version of ScalarDB that you want to use:
```gradle
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 `` with the version of ScalarDB that you want to use:
```xml
<dependency>
  <groupId>com.scalar-labs</groupId>
  <artifactId>scalardb</artifactId>
  <version><VERSION></version>
</dependency>
```