From c8fe3463204891e8eebcf7c1f46297abc6a38cc3 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 18 Jan 2022 17:16:43 -0800 Subject: [PATCH] Initial 0.9.0 release cleanup. --- README.md | 2 +- build.gradle.kts | 4 ++-- examples/build.gradle.kts | 4 ++-- examples/src/main/kotlin/com/example/CryptoPriceExample.kt | 2 +- pom.xml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0960cc8..b3cf4c7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![Release](https://img.shields.io/github/release/ethauvin/cryptoprice.svg)](https://github.com/ethauvin/cryptoprice/releases/latest) [![Maven Central](https://img.shields.io/maven-central/v/net.thauvin.erik/cryptoprice.svg?label=maven%20central)](https://search.maven.org/search?q=g:%22net.thauvin.erik%22%20AND%20a:%22cryptoprice%22) [![Nexus Snapshot](https://img.shields.io/nexus/s/net.thauvin.erik/cryptoprice?server=https%3A%2F%2Foss.sonatype.org%2F)](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/cryptoprice/) +[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![Release](https://img.shields.io/github/release/ethauvin/cryptoprice.svg)](https://github.com/ethauvin/cryptoprice/releases/latest) [![Maven Central](https://img.shields.io/maven-central/v/net.thauvin.erik/cryptoprice.svg?label=maven%20central)](https://search.maven.org/search?q=g:%22net.thauvin.erik%22%20AND%20a:%22cryptoprice%22) [![Known Vulnerabilities](https://snyk.io/test/github/ethauvin/cryptoprice/badge.svg?targetFile=pom.xml)](https://snyk.io/test/github/ethauvin/cryptoprice?targetFile=pom.xml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_cryptoprice&metric=alert_status)](https://sonarcloud.io/dashboard?id=ethauvin_cryptoprice) [![GitHub CI](https://github.com/ethauvin/cryptoprice/actions/workflows/gradle.yml/badge.svg)](https://github.com/ethauvin/cryptoprice/actions/workflows/gradle.yml) [![CircleCI](https://circleci.com/gh/ethauvin/cryptoprice/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/cryptoprice/tree/master) diff --git a/build.gradle.kts b/build.gradle.kts index 0b183a6..0820e33 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent plugins { id("application") - id("com.github.ben-manes.versions") version "0.40.0" + id("com.github.ben-manes.versions") version "0.41.0" id("io.gitlab.arturbosch.detekt") version "1.19.0" id("java") id("maven-publish") @@ -22,7 +22,7 @@ defaultTasks(ApplicationPlugin.TASK_RUN_NAME) description = "Retrieve cryptocurrencies current prices." group = "net.thauvin.erik" -version = "0.9.0-SNAPSHOT" +version = "0.9.0" val deployDir = "deploy" val gitHub = "ethauvin/$name" diff --git a/examples/build.gradle.kts b/examples/build.gradle.kts index d0439f0..22c2e89 100644 --- a/examples/build.gradle.kts +++ b/examples/build.gradle.kts @@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("application") - id("com.github.ben-manes.versions") version "0.40.0" + id("com.github.ben-manes.versions") version "0.41.0" kotlin("jvm") version "1.6.10" } @@ -20,7 +20,7 @@ repositories { } dependencies { - implementation("net.thauvin.erik:cryptoprice:0.9.0-SNAPSHOT") + implementation("net.thauvin.erik:cryptoprice:0.9.0") } java { diff --git a/examples/src/main/kotlin/com/example/CryptoPriceExample.kt b/examples/src/main/kotlin/com/example/CryptoPriceExample.kt index 51f4348..a1bdb39 100644 --- a/examples/src/main/kotlin/com/example/CryptoPriceExample.kt +++ b/examples/src/main/kotlin/com/example/CryptoPriceExample.kt @@ -21,7 +21,7 @@ fun main(args: Array) { // Get current Ethereum spot price in Pound sterling. val gbpPrice = spotPrice("ETH", "GBP") - println("The current Ehtereum price is ${gbpPrice.toCurrency()}") + println("The current Ethereum price is ${gbpPrice.toCurrency()}") // Get current Litecoin spot price in Euro. val euroPrice = spotPrice("LTC", "EUR") diff --git a/pom.xml b/pom.xml index ae483a1..3d95e38 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ 4.0.0 net.thauvin.erik cryptoprice - 0.9.0-SNAPSHOT + 0.9.0 cryptoprice Retrieve cryptocurrencies current prices. https://github.com/ethauvin/cryptoprice