Skip to content

Commit

Permalink
add readme how to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Aulia Hakiem committed Jul 31, 2019
1 parent a75735d commit 73dd1cb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Java library to be used with Xendit Payment Gateway. Register [here](http://dash
- Get VA
- Get VA payment
- Create disbursement
- Get disbursement

## Requirements
JDK 1.7 or later.
Expand All @@ -18,14 +19,14 @@ Maven:
<dependency>
<groupId>com.xendit</groupId>
<artifactId>xendit-java-lib</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
<type>pom</type>
</dependency>
```

Gradle:
```
compile 'com.xendit:xendit-java-lib:1.2.0'
compile 'com.xendit:xendit-java-lib:1.3.0'
```

More information: https://bintray.com/xendit/android/xendit-java-lib
Expand Down Expand Up @@ -59,5 +60,12 @@ public class Example {

See other examples [here](https://github.com/xendit/xendit-java-library/tree/master/xendit-java-library-example/src/main/java).

## Publish
RUn these commands with `local.properties` fields already configured with bintray credentials.
```
./gradlew install
./gradlew bintrayUpload
```

## Contributing
TBD

0 comments on commit 73dd1cb

Please sign in to comment.