-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from scalar-labs/add-updated-docs
Add updated docs for adding ScalarDB and ScalarDB SQL to builds
- Loading branch information
Showing
34 changed files
with
515 additions
and
793 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,37 @@ | ||
# Add ScalarDB to your build | ||
# Add ScalarDB to Your Build | ||
|
||
The library is available on [maven central repository](https://mvnrepository.com/artifact/com.scalar-labs/scalardb). | ||
You can install it in your application using your build tool such as Gradle and Maven. | ||
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. | ||
|
||
## 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. | ||
|
||
<div id="tabset-1"> | ||
<div class="tab"> | ||
<button class="tablinks" onclick="openTab(event, 'Gradle', 'tabset-1')" id="defaultOpen-1">Gradle</button> | ||
<button class="tablinks" onclick="openTab(event, 'Maven', 'tabset-1')">Maven</button> | ||
</div> | ||
|
||
<div id="Gradle" class="tabcontent" markdown="1"> | ||
|
||
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: | ||
|
||
To add a dependency on ScalarDB using Gradle, use the following: | ||
```gradle | ||
dependencies { | ||
implementation 'com.scalar-labs:scalardb:3.10.1' | ||
implementation 'com.scalar-labs:scalardb:<VERSION>' | ||
} | ||
``` | ||
</div> | ||
<div id="Maven" class="tabcontent" markdown="1"> | ||
|
||
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: | ||
|
||
To add a dependency using Maven: | ||
```xml | ||
<dependency> | ||
<groupId>com.scalar-labs</groupId> | ||
<artifactId>scalardb</artifactId> | ||
<version>3.10.1</version> | ||
<version><VERSION></version> | ||
</dependency> | ||
``` | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.