From 6c7df605e4607b6590956b7f6496dbc8aa2169e3 Mon Sep 17 00:00:00 2001 From: "hoc081098@gmail.com" Date: Sun, 3 Dec 2023 16:18:13 +0700 Subject: [PATCH] chore(publish): prepare for 0.0.1 --- README.md | 62 +++++++++++++++++++++++++++++++++++++++++++---- gradle.properties | 2 +- 2 files changed, 58 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7e9a740..82304d6 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,63 @@ Liked some of my work? Buy me a coffee (or more likely a beer) Buy Me A Coffee +## Docs + +- `0.x release` docs: https://hoc081098.github.io/kotlin-channel-event-bus/docs/0.x +- Snapshot docs: https://hoc081098.github.io/kotlin-channel-event-bus/docs/latest/ + +## Installation + +```kotlin +allprojects { + repositories { + [...] + mavenCentral() + } +} +``` + +```kotlin +implementation("io.github.hoc081098:channel-event-bus:0.0.1") +``` + +### Snapshot + +
+ Snapshots of the development version are available in Sonatype's snapshots repository. + +- Kotlin + +```kotlin +allprojects { + repositories { + [...] + maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/") + } +} + +dependencies { + implementation("io.github.hoc081098:channel-event-bus:0.0.2-SNAPSHOT") +} +``` + +- Groovy + +```groovy +allprojects { + repositories { + [...] + maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" } + } +} + +dependencies { + implementation 'io.github.hoc081098:channel-event-bus:0.0.2-SNAPSHOT' +} +``` + +
+ ## Basic usage ```kotlin @@ -78,11 +135,6 @@ bus - `tvosX64`, `tvosSimulatorArm64`, `tvosArm64`. - `macosX64`, `macosArm64`. -## Docs - -- `0.x release` docs: https://hoc081098.github.io/kotlin-channel-event-bus/docs/0.x -- Snapshot docs: https://hoc081098.github.io/kotlin-channel-event-bus/docs/latest/ - ## Sample - [Android Compose sample](https://github.com/hoc081098/kotlin-channel-event-bus/tree/master/sample/app): diff --git a/gradle.properties b/gradle.properties index 7b37038..0871ac5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,7 +25,7 @@ kotlin.incremental=true # POM GROUP=io.github.hoc081098 # HEY! If you change the major version here be sure to update publish-release.yaml doc target folder! -VERSION_NAME=0.0.1-SNAPSHOT +VERSION_NAME=0.0.1 POM_INCEPTION_YEAR=2023 POM_URL=https://github.com/hoc081098/kotlin-channel-event-bus