Skip to content

Commit 9e4f529

Browse files
committed
Add doc
1 parent abbe9ea commit 9e4f529

File tree

213 files changed

+39612
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+39612
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
tags:
3+
- Community
4+
- Enterprise Standard
5+
- Enterprise Premium
6+
---
7+
8+
# Add ScalarDB to Your Build
9+
10+
import Tabs from '@theme/Tabs';
11+
import TabItem from '@theme/TabItem';
12+
13+
The ScalarDB library is available on the [Maven Central Repository](https://mvnrepository.com/artifact/com.scalar-labs/scalardb). You can add the library as a build dependency to your application by using Gradle or Maven.
14+
15+
## Configure your application based on your build tool
16+
17+
Select your build tool, and follow the instructions to add the build dependency for ScalarDB to your application.
18+
19+
<Tabs groupId="build_tools" queryString>
20+
<TabItem value="Gradle" label="Gradle">
21+
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:
22+
23+
```gradle
24+
dependencies {
25+
implementation 'com.scalar-labs:scalardb:<VERSION>'
26+
}
27+
```
28+
</TabItem>
29+
<TabItem value="Maven" label="Maven" default>
30+
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:
31+
32+
```xml
33+
<dependency>
34+
<groupId>com.scalar-labs</groupId>
35+
<artifactId>scalardb</artifactId>
36+
<version><VERSION></version>
37+
</dependency>
38+
```
39+
</TabItem>
40+
</Tabs>

0 commit comments

Comments
 (0)