Skip to content

Commit

Permalink
Add more installation examples
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasNaouchi committed Apr 16, 2024
1 parent 532bb25 commit 6c3bba1
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,47 @@ library and the functionality it provides.

## Installation

You can use your preferred method of managing dependencies in order to install the omise-java library. Below you will find some popular examples:

### Android

**WARNING:** Android users should check out our [omise-android][4] repository instead.

This library requires Java 8 and higher and is meant to be used with Java server
implementations.

### Gradle/Kotlin/Maven
### Gradle

Add to your `build.gradle` file.
Add the following line to your `build.gradle` file:

```gradle
dependencies {
compile 'co.omise:omise-java:4.+'
}
```

### Kotlin

Add the following dependency to your `build.gradle.kts` file:

```kotlin
dependencies {
implementation("co.omise:omise-java:4.+")
}
```

### Maven

Add the following dependency to your `pom.xml` file:

```xml
<dependency>
<groupId>co.omise</groupId>
<artifactId>omise-java</artifactId>
<version>4.0.0</version>
</dependency>
```

### Shadow JAR

If you have dependency conflicts with the `omise-java` jar, you can try using the
Expand Down

0 comments on commit 6c3bba1

Please sign in to comment.