From 4a8bc25409b51fc796027488b090158ee0dbb557 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sun, 26 Nov 2023 04:45:28 -0800 Subject: [PATCH] Version 1.0.1 --- README.md | 7 ++++--- examples/bld/src/bld/java/com/example/ExampleBuild.java | 3 ++- examples/gradle/build.gradle.kts | 2 +- pom.xml | 8 +------- .../java/net/thauvin/erik/bitly/BitlyShortenBuild.java | 3 +-- 5 files changed, 9 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index ce08668..01c8504 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ [![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](https://opensource.org/licenses/BSD-3-Clause) [![Kotlin](https://img.shields.io/badge/kotlin-1.9.21-7f52ff)](https://kotlinlang.org/) -[![Nexus Snapshot](https://img.shields.io/nexus/s/net.thauvin.erik/bitly-shorten?label=snapshot&server=https%3A%2F%2Foss.sonatype.org%2F)](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/bitly-shorten/) [![Release](https://img.shields.io/github/release/ethauvin/bitly-shorten.svg)](https://github.com/ethauvin/bitly-shorten/releases/latest) [![Maven Central](https://img.shields.io/maven-central/v/net.thauvin.erik/bitly-shorten.svg?color=blue)](https://central.sonatype.com/artifact/net.thauvin.erik/bitly-shorten) +[![Nexus Snapshot](https://img.shields.io/nexus/s/net.thauvin.erik/bitly-shorten?label=snapshot&server=https%3A%2F%2Foss.sonatype.org%2F)](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/bitly-shorten/) + [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_bitly-shorten&metric=alert_status)](https://sonarcloud.io/dashboard?id=ethauvin_bitly-shorten) [![GitHub CI](https://github.com/ethauvin/bitly-shorten/actions/workflows/bld.yml/badge.svg)](https://github.com/ethauvin/bitly-shorten/actions/workflows/bld.yml) @@ -61,7 +62,7 @@ To use with [bld](https://rife2.com/bld), include the following dependency in yo repositories = List.of(MAVEN_CENTRAL, SONATYPE_SNAPSHOTS_LEGACY); scope(compile) - .include(dependency("net.thauvin.erik:bitly-shorten:1.0.0")); + .include(dependency("net.thauvin.erik:bitly-shorten:1.0.1")); ``` Be sure to use the [bld Kotlin extension](https://github.com/rife2/bld-kotlin) in your project. @@ -76,7 +77,7 @@ repositories { } dependencies { - implementation("net.thauvin.erik:bitly-shorten:1.0.0") + implementation("net.thauvin.erik:bitly-shorten:1.0.1") } ``` diff --git a/examples/bld/src/bld/java/com/example/ExampleBuild.java b/examples/bld/src/bld/java/com/example/ExampleBuild.java index d1c9d0d..d5645a1 100644 --- a/examples/bld/src/bld/java/com/example/ExampleBuild.java +++ b/examples/bld/src/bld/java/com/example/ExampleBuild.java @@ -5,6 +5,7 @@ import rife.bld.operations.RunOperation; import rife.bld.BaseProject; +import java.util.List; import static rife.bld.dependencies.Repository.*; import static rife.bld.dependencies.Scope.compile; @@ -23,7 +24,7 @@ public ExampleBuild() { repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL, SONATYPE_SNAPSHOTS_LEGACY); scope(compile) - .include(dependency("net.thauvin.erik:bitly-shorten:1.0.0")) + .include(dependency("net.thauvin.erik:bitly-shorten:1.0.1")) .include(dependency("org.json:json:20231013")); } diff --git a/examples/gradle/build.gradle.kts b/examples/gradle/build.gradle.kts index ab96c06..fc9d2cb 100644 --- a/examples/gradle/build.gradle.kts +++ b/examples/gradle/build.gradle.kts @@ -17,7 +17,7 @@ repositories { } dependencies { - implementation("net.thauvin.erik:bitly-shorten:1.0.0") + implementation("net.thauvin.erik:bitly-shorten:1.0.1") implementation("org.json:json:20231013") } diff --git a/pom.xml b/pom.xml index 4a1ec2f..fd7745c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 net.thauvin.erik bitly-shorten - 1.0.1-SNAPSHOT + 1.0.1 bitly-shorten A simple implementation of the Bitly link shortening API v4 https://github.com/ethauvin/bitly-shorten @@ -21,12 +21,6 @@ 1.9.21 compile - - org.jetbrains.kotlin - kotlin-stdlib-common - 1.9.21 - compile - org.jetbrains.kotlin kotlin-stdlib-jdk7 diff --git a/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java b/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java index 39ed31b..53ebbd8 100644 --- a/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java +++ b/src/bld/java/net/thauvin/erik/bitly/BitlyShortenBuild.java @@ -59,7 +59,7 @@ public class BitlyShortenBuild extends Project { public BitlyShortenBuild() { pkg = "net.thauvin.erik"; name = "bitly-shorten"; - version = version(1, 0, 1, "SNAPSHOT"); + version = version(1, 0, 1); javaRelease = 11; downloadSources = true; @@ -70,7 +70,6 @@ public BitlyShortenBuild() { final var kotlin = version(1, 9, 21); scope(compile) .include(dependency("org.jetbrains.kotlin", "kotlin-stdlib", kotlin)) - .include(dependency("org.jetbrains.kotlin", "kotlin-stdlib-common", kotlin)) .include(dependency("org.jetbrains.kotlin", "kotlin-stdlib-jdk7", kotlin)) .include(dependency("org.jetbrains.kotlin", "kotlin-stdlib-jdk8", kotlin)) .include(dependency("com.squareup.okhttp3", "okhttp", okHttp))