| Branch | Tests | Coverage | Linting |
|---|---|---|---|
| master |
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 therepositorieslist in yourbuild.gradlefile and addorg.dashj.platform:dapi-client:0.23-SNAPSHOTas dependency.
Add mavenCentral() to the repositories list in your build.gradle
dependencies {
implementation 'org.dashj.platform:dpp:0.23-SNAPSHOT'
}Run tests with gradle build test
Check using ktlint:
./gradlew ktlintFormat using ktlint:
./gradlew ktlintFormatThe .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
./gradlew uploadArchives