Skip to content

Commit b881a14

Browse files
AUTO: Sync ScalarDB docs in Japanese to docs site repo (#735)
Co-authored-by: josh-wong <[email protected]>
1 parent 30bd30b commit b881a14

File tree

109 files changed

+24753
-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.

109 files changed

+24753
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
tags:
3+
- Community
4+
- Enterprise Standard
5+
- Enterprise Premium
6+
---
7+
8+
# ビルドに ScalarDB を追加する
9+
10+
import Tabs from '@theme/Tabs';
11+
import TabItem from '@theme/TabItem';
12+
import TranslationBanner from '/src/components/_translation-ja-jp.mdx';
13+
14+
<TranslationBanner />
15+
16+
ScalarDB ライブラリは、[Maven Central Repository](https://mvnrepository.com/artifact/com.scalar-labs/scalardb) で入手できます。Gradle または Maven を使用して、ライブラリをビルド依存関係としてアプリケーションに追加できます。
17+
18+
## ビルドツールに基づいてアプリケーションを設定する
19+
20+
ビルドツールを選択し、手順に従って ScalarDB のビルド依存関係をアプリケーションに追加します。
21+
22+
<Tabs groupId="build_tools" queryString>
23+
<TabItem value="Gradle" label="Gradle" default>
24+
Gradle を使用して ScalarDB のビルド依存関係を追加するには、アプリケーションの `build.gradle` に次のコードを追加し、`<VERSION>` を使用する ScalarDB のバージョンに置き換えます。
25+
26+
```gradle
27+
dependencies {
28+
implementation 'com.scalar-labs:scalardb:<VERSION>'
29+
}
30+
```
31+
</TabItem>
32+
<TabItem value="Maven" label="Maven">
33+
Maven を使用して ScalarDB のビルド依存関係を追加するには、アプリケーションの `pom.xml` に次のコードを追加し、`<VERSION>` を使用する ScalarDB のバージョンに置き換えます。
34+
35+
```xml
36+
<dependency>
37+
<groupId>com.scalar-labs</groupId>
38+
<artifactId>scalardb</artifactId>
39+
<version><VERSION></version>
40+
</dependency>
41+
```
42+
</TabItem>
43+
</Tabs>

0 commit comments

Comments
 (0)