diff --git a/README.md b/README.md index 067e602..495fc9c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # 🌳 JsonTree -![](https://img.shields.io/maven-central/v/com.sebastianneubauer.jsontree/jsontree) ![](https://img.shields.io/badge/Kotlin-2.0.0-orange) ![](https://img.shields.io/badge/SDK-21+-brightgreen) ![](https://img.shields.io/badge/Android_Weekly-Issue_584-yellow) +![](https://img.shields.io/maven-central/v/com.sebastianneubauer.jsontree/jsontree) ![](https://img.shields.io/badge/Kotlin-2.0.20-orange) ![](https://img.shields.io/badge/Android_Weekly-Issue_584-yellow) +![](https://img.shields.io/badge/Platform-Android|iOS|Jvm-darkgrey)

JsonTree is a Compose Multiplatform library to display JSON data in Compose with syntax highlighting and more.

@@ -83,13 +84,13 @@ JsonTree( ## Minimum Requirements -- Min SDK 21 -- Compile SDK 34 +- Android minSdk 21 +- Android compileSdk 34 - JDK 17 ## Tech Stack -- Compose UI +- Compose Multiplatform UI - Kotlinx Serialization - Detekt (Linting) - API validation diff --git a/RELEASING.md b/RELEASING.md index 04e127a..4558fd5 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -6,8 +6,15 @@ 4. `git push --tags` 5. Go to Sonatype repository and release artifact -## Releasing the local Maven repository +## Releasing to the local Maven repository 1. Update version in `gradle.properties` with `-SNAPSHOT` 2. `./gradlew publishToMavenLocal` -3. Add the `mavenLocal()` repository and the library to the consumer project \ No newline at end of file +3. Add the `mavenLocal()` repository and the library to the consumer project + +## Releasing to the Maven Snapshot repository + +1. Update version in `gradle.properties` with `-SNAPSHOT` +2. `./gradlew publishAllPublicationsToMavenCentralRepository` +3. Add the `maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") }` repository and the library to the consumer project + diff --git a/gradle.properties b/gradle.properties index e2406a0..2e4461a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,7 +27,7 @@ SONATYPE_HOST=S01 RELEASE_SIGNING_ENABLED=true GROUP=com.sebastianneubauer.jsontree -VERSION_NAME=2.2.0 +VERSION_NAME=2.3.0 POM_INCEPTION_YEAR=2023 POM_URL=https://github.com/snappdevelopment/JsonTree diff --git a/jsontree/gradle.properties b/jsontree/gradle.properties index 5580e63..adc0649 100644 --- a/jsontree/gradle.properties +++ b/jsontree/gradle.properties @@ -3,4 +3,4 @@ android.nonTransitiveRClass=true #Publishing POM_ARTIFACT_ID=jsontree POM_NAME=JsonTree -POM_DESCRIPTION=A android library to display json data in Compose \ No newline at end of file +POM_DESCRIPTION=A Kotlin Multiplatform library to display json data in Compose \ No newline at end of file