An open API service indexing awesome lists of open source software.

https://github.com/dashpay/android-dpp

Dash Platform Protocol for JVM (Java, Kotlin, etc)
https://github.com/dashpay/android-dpp

android java kotlin mobile

Last synced: 4 months ago
JSON representation

Dash Platform Protocol for JVM (Java, Kotlin, etc)

Awesome Lists containing this project

README

          

# Dash Platform Protocol (DPP) for JVM

[![License](https://img.shields.io/github/license/dashevo/android-dpp)](https://github.com/dashevo/android-dpp/blob/master/LICENSE)
[![dashevo/android-dpp](https://tokei.rs/b1/github/dashevo/android-dpp?category=code)](https://github.com/dashevo/android-dpp)

| Branch | Tests | Coverage | Linting |
|--------|--------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|
| master | [![Tests](https://github.com/dashevo/android-dpp/workflows/CI/badge.svg?branch=master)](https://github.com/dashevo/android-dpp/actions) | [![codecov](https://codecov.io/gh/dashevo/android-dpp/branch/master/graph/badge.svg)](https://codecov.io/gh/dashevo/android-dpp) | ![Lint](https://github.com/dashevo/android-dpp/workflows/Kotlin%20Linter/badge.svg) |

# Build and Publish to Local Repository
```
git clone https://github.com/github/dashevo/android-dpp.git
cd android-dpp
./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:dpp:0.24-SNAPSHOT` as a dependency.

# Usage
Add mavenCentral() to the `repositories` list in your `build.gradle`
```groovy

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

# KtLint
Check using ktlint:
```shell
./gradlew ktlint
```
Format using ktlint:
```shell
./gradlew ktlintFormat
```

# Tests
Run tests with `./gradlew build test`

# Debugging Tools
- https://cbor.me

# Publish to Maven Central
```shell
./gradlew uploadArchives
```