Cleanup README
This commit is contained in:
parent
48e29528a1
commit
8267c2ad57
1 changed files with 17 additions and 5 deletions
20
README.md
20
README.md
|
@ -1,8 +1,8 @@
|
|||
[](https://opensource.org/licenses/BSD-3-Clause)
|
||||
[](https://kotlinlang.org/)
|
||||
[](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/cryptoprice/)
|
||||
[](https://kotlinlang.org/)
|
||||
[](https://github.com/ethauvin/cryptoprice/releases/latest)
|
||||
[](https://central.sonatype.com/artifact/net.thauvin.erik/cryptoprice)
|
||||
[](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/cryptoprice/)
|
||||
|
||||
[](https://sonarcloud.io/dashboard?id=ethauvin_cryptoprice)
|
||||
[](https://github.com/ethauvin/cryptoprice/actions/workflows/gradle.yml)
|
||||
|
@ -29,11 +29,23 @@ val eth = buyPrice("LTC", "GBP") // Litecoin in Pound sterling
|
|||
println(eth.amount)
|
||||
|
||||
```
|
||||
- View [Kotlin](https://github.com/ethauvin/cryptoprice/blob/master/examples/src/main/kotlin/com/example/CryptoPriceExample.kt) or [Java](https://github.com/ethauvin/cryptoprice/blob/master/examples/src/main/java/com/example/CryptoPriceSample.java) Examples.
|
||||
- View [bld](https://github.com/ethauvin/cryptoprice/blob/master/examples/bld) or [Gradle](https://github.com/ethauvin/cryptoprice/blob/master/examples/gradle) Examples.
|
||||
|
||||
### bld
|
||||
|
||||
To use with [bld](https://rife2.com/bld), include the following dependency in your [build](https://github.com/ethauvin/cryptoprice/blob/master/examples/bld/src/bld/java/com/example/CryptoPriceExampleBuild.java) file:
|
||||
|
||||
```java
|
||||
repositories = List.of(MAVEN_CENTRAL);
|
||||
|
||||
scope(compile)
|
||||
.include(dependency("net.thauvin.erik:cryptoprice:1.0.1"));
|
||||
```
|
||||
Be sure to use the [bld Kotlin extension](https://github.com/rife2/bld-kotlin) in your project.
|
||||
|
||||
### Gradle, Maven, etc.
|
||||
|
||||
To use with [Gradle](https://gradle.org/), include the following dependency in your [build](https://github.com/ethauvin/cryptoprice/blob/master/examples/build.gradle.kts) file:
|
||||
To use with [Gradle](https://gradle.org/), include the following dependency in your [build](https://github.com/ethauvin/cryptoprice/blob/master/examples/gradle/build.gradle.kts) file:
|
||||
|
||||
```gradle
|
||||
repositories {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue