Skip to content

Commit

Permalink
v0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Oct 23, 2021
1 parent d11b914 commit 037b796
Show file tree
Hide file tree
Showing 28 changed files with 75 additions and 76 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<!-- for main -->

[![Download](https://img.shields.io/badge/Download-0.15.1-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.15.1/jar)
<!--
[![Download](https://img.shields.io/badge/Download-0.16.0-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.16.0/jar)
[![Apache license](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache2.0)
[![Build Status Ubuntu](https://github.com/robstoll/kbox/workflows/Ubuntu/badge.svg?event=push)](https://github.com/robstoll/kbox/actions?query=workflow%3AUbuntu+branch%3Amain)
[![Build Status Windows](https://github.com/robstoll/kbox/workflows/Windows/badge.svg?event=push)](https://github.com/robstoll/kbox/actions?query=workflow%3AWindows+branch%3Amain)
[![SonarCloud Status](https://sonarcloud.io/api/project_badges/measure?project=robstoll_kbox&metric=alert_status)](https://sonarcloud.io/dashboard?id=robstoll_kbox)

-->
<!-- for a specific release -->
<!--
[![Download](https://img.shields.io/badge/Download-0.15.1-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.15.1/jar)

[![Download](https://img.shields.io/badge/Download-0.16.0-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.16.0/jar)
[![Apache license](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache2.0)
-->


# KBox
KBox is a very small but useful utility library for Kotlin (JVM, Android and JS).
Expand Down Expand Up @@ -66,7 +66,7 @@ KBox is published to maven central.
```
repositories { mavenCentral() }
dependencies {
implementation("ch.tutteli.kbox:kbox-jvm:0.15.1")
implementation("ch.tutteli.kbox:kbox-jvm:0.16.0")
}
```

Expand Down
21 changes: 10 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import java.nio.file.StandardCopyOption

buildscript {
// needs to be defined in here because otherwise tutteli-publish plugin does not have this information when applied
rootProject.version = "0.16.0-SNAPSHOT"
rootProject.version = "0.16.0"
rootProject.group = "ch.tutteli.kbox"
rootProject.description = "A utility library for Kotlin "
}
Expand Down Expand Up @@ -176,15 +176,11 @@ project.afterEvaluate {
/*
Release & deploy a commit
--------------------------------
1. generate dokka
a) gr dokka
b) check if output/links are still good (use intellij's http server via -> right click -> open in -> browser)
2. update main:
1. update main:
Either use the following commands or the manual steps below
export KBOX_PREVIOUS_VERSION=0.15.1
export KBOX_PREVIOUS_VERSION=0.16.0
export KBOX_VERSION=0.16.0
find ./ -name "*.md" | xargs perl -0777 -i \
-pe "s@$KBOX_PREVIOUS_VERSION@$KBOX_VERSION@g;" \
Expand All @@ -197,17 +193,20 @@ perl -0777 -i \
-pe "s@$KBOX_PREVIOUS_VERSION@$KBOX_VERSION@g;" \
-pe 's/(<!-- for main -->\n)\n([\S\s]*?)(\n<!-- for a specific release -->\n)<!--\n([\S\s]*?)-->\n(\n# KBox)/$1<!--\n$2-->$3\n$4\n$5/;' \
./README.md
git commit -a -m "v$KBOX_VERSION"
git tag "v$KBOX_VERSION"
alternatively the manual steps:
a) search for X.Y.Z-SNAPSHOT and replace with X.Y.Z
b) adjust badges in readme
c) commit (modified build.gradle and README.md)
2. generate dokka
a) gr dokka
b) check if output/links are still good (use intellij's http server via -> right click -> open in -> browser)
3. prepare release on github
a) git tag vX.Y.Z
b) git push origin vX.Y.Z
a) git commit -a -m "v$KBOX_VERSION"
b) git tag "v$KBOX_VERSION"
c) git push origin "v$KBOX_VERSION"
3. deploy to maven central:
(assumes you have an alias named gr pointing to ./gradlew)
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Download](https://img.shields.io/badge/Download-0.15.1-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.15.1/jar)
[![Download](https://img.shields.io/badge/Download-0.16.0-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.kbox/kbox/0.16.0/jar)
[![Apache license](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache2.0)

# KBox
Expand All @@ -11,7 +11,7 @@ KBox is published to maven central.
```
repositories { mavenCentral() }
dependencies {
implementation("ch.tutteli.kbox:kbox-jvm:0.15.1")
implementation("ch.tutteli.kbox:kbox-jvm:0.16.0")
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ <h1 class="cover"><span>Default</span><wbr></wbr><span>Peeking</span><wbr></wbr>
</div>
</div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="1724277880%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L6" id="1724277880%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table" data-togglable="Sources"><a data-name="1724277880%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L6" id="1724277880%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L6">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1724277880%2FSource%2F788909594"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L6">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1724277880%2FSource%2F788909594"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ <h1 class="cover"><span>has</span><wbr></wbr><span><span>Next</span></span></h1>
</div>
</div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="1811049330%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L9" id="1811049330%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table" data-togglable="Sources"><a data-name="1811049330%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L9" id="1811049330%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L9">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1811049330%2FSource%2F788909594"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L9">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1811049330%2FSource%2F788909594"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ <h2 class="">Properties</h2>
</div>
</div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="920904900%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L3" id="920904900%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table" data-togglable="Sources"><a data-name="920904900%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L3" id="920904900%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L3">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="920904900%2FSource%2F788909594"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L3">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="920904900%2FSource%2F788909594"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ <h1 class="cover"><span><span>next</span></span></h1>
</div>
</div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="1920489384%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L12" id="1920489384%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table" data-togglable="Sources"><a data-name="1920489384%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L12" id="1920489384%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L12">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1920489384%2FSource%2F788909594"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/DefaultPeekingIterator.kt#L12">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1920489384%2FSource%2F788909594"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ <h1 class="cover"><span>Jvm</span><wbr></wbr><span><span>Synchronized</span></sp
</div>
</div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="1995633595%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8" id="1995633595%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table" data-togglable="Sources"><a data-name="1995633595%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8" id="1995633595%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1995633595%2FSource%2F788909594"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1995633595%2FSource%2F788909594"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
</div>
</div>
<a data-name="1995633595%2FSource%2F371682492" anchor-label="https://github.com/robstoll/kbox/tree/main/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8" id="1995633595%2FSource%2F371682492" data-filterable-set=":dokkaHtml/jsMain"></a>
<a data-name="1995633595%2FSource%2F371682492" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8" id="1995633595%2FSource%2F371682492" data-filterable-set=":dokkaHtml/jsMain"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/jsMain" data-filterable-set=":dokkaHtml/jsMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8">js source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1995633595%2FSource%2F371682492"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L8">js source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1995633595%2FSource%2F371682492"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
8 changes: 4 additions & 4 deletions docs/kdoc/kbox/ch.tutteli.kbox/-jvm-synchronized/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ <h2 class="tabbedcontent">Constructors</h2>
</div>
</div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="1868863381%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3" id="1868863381%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table" data-togglable="Sources"><a data-name="1868863381%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3" id="1868863381%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1868863381%2FSource%2F788909594"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1868863381%2FSource%2F788909594"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
</div>
</div>
<a data-name="1868863381%2FSource%2F371682492" anchor-label="https://github.com/robstoll/kbox/tree/main/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3" id="1868863381%2FSource%2F371682492" data-filterable-set=":dokkaHtml/jsMain"></a>
<a data-name="1868863381%2FSource%2F371682492" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3" id="1868863381%2FSource%2F371682492" data-filterable-set=":dokkaHtml/jsMain"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/jsMain" data-filterable-set=":dokkaHtml/jsMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3">js source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1868863381%2FSource%2F371682492"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/jsMain/kotlin/ch/tutteli/kbox/JvmSynchronized.kt#L3">js source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1868863381%2FSource%2F371682492"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ <h2 class="tabbedcontent">Extensions</h2>
</div>
</div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="1226867703%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/PeekingIterator.kt#L14" id="1226867703%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table" data-togglable="Sources"><a data-name="1226867703%2FSource%2F788909594" anchor-label="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/PeekingIterator.kt#L14" id="1226867703%2FSource%2F788909594" data-filterable-set=":dokkaHtml/commonMain"></a>
<div class="table-row" data-filterable-current=":dokkaHtml/commonMain" data-filterable-set=":dokkaHtml/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/main/src/commonMain/kotlin/ch/tutteli/kbox/PeekingIterator.kt#L14">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1226867703%2FSource%2F788909594"></span>
<div class=""><span class="inline-flex"><a href="https://github.com/robstoll/kbox/tree/v0.16.0/src/commonMain/kotlin/ch/tutteli/kbox/PeekingIterator.kt#L14">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1226867703%2FSource%2F788909594"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
Expand Down
Loading

0 comments on commit 037b796

Please sign in to comment.