Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
<br /><br />
JsonTree is a Compose Multiplatform library to display JSON data in Compose with syntax highlighting and more.
<br /><br />
Expand Down Expand Up @@ -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
Expand Down
11 changes: 9 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion jsontree/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
POM_DESCRIPTION=A Kotlin Multiplatform library to display json data in Compose