Skip to content

dashpay/dapi-client-android

Repository files navigation

Dash DAPI Client for JVM

License dashevo/android-dpp

Branch Tests Coverage Linting
master Tests codecov Lint

Build

This depends on the android-dpp library

git clone https://github.com/github/dashevo/android-dpp.git
cd android-dpp
./gradlew assemble

Build this library:

git clone https://github.com/github/dashevo/dapi-client-android.git
cd dapi-client-android
./gradlew assemble
  • After building, it will be available on the local Maven repository.
  • To use it with gradle, add mavenLocal() to the repositories list in your build.gradle file and add org.dashj.platform:dapi-client:0.23-SNAPSHOT as dependency.

Usage

Add mavenCentral() to the repositories list in your build.gradle

dependencies {
    implementation 'org.dashj.platform:dpp:0.23-SNAPSHOT'
}

Tests

Run tests with gradle build test

KtLint

Check using ktlint:

./gradlew ktlint

Format using ktlint:

./gradlew ktlintFormat

Updating DPP

The .proto files are located here: https://github.com/dashevo/dapi-grpc.git (/protos directory)

In this project, they are in the /src/main/proto directory

Publish to maven central

./gradlew uploadArchives

Releases

No releases published

Packages

No packages published

Languages