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 therepositories
list in yourbuild.gradle
file and addorg.dashj.platform:dapi-client:0.23-SNAPSHOT
as 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 ktlint
Format using ktlint:
./gradlew ktlintFormat
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
./gradlew uploadArchives