Skip to content

Commit 3c78480

Browse files
Merge pull request #97 from snappdevelopment/release-adjustments
Adjustments for release
2 parents bc1bee3 + e790444 commit 3c78480

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# 🌳 JsonTree
22

3-
![](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)
3+
![](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)
4+
![](https://img.shields.io/badge/Platform-Android|iOS|Jvm-darkgrey)
45
<br /><br />
56
JsonTree is a Compose Multiplatform library to display JSON data in Compose with syntax highlighting and more.
67
<br /><br />
@@ -83,13 +84,13 @@ JsonTree(
8384

8485
## Minimum Requirements
8586

86-
- Min SDK 21
87-
- Compile SDK 34
87+
- Android minSdk 21
88+
- Android compileSdk 34
8889
- JDK 17
8990

9091
## Tech Stack
9192

92-
- Compose UI
93+
- Compose Multiplatform UI
9394
- Kotlinx Serialization
9495
- Detekt (Linting)
9596
- API validation

RELEASING.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@
66
4. `git push --tags`
77
5. Go to Sonatype repository and release artifact
88

9-
## Releasing the local Maven repository
9+
## Releasing to the local Maven repository
1010

1111
1. Update version in `gradle.properties` with `-SNAPSHOT`
1212
2. `./gradlew publishToMavenLocal`
13-
3. Add the `mavenLocal()` repository and the library to the consumer project
13+
3. Add the `mavenLocal()` repository and the library to the consumer project
14+
15+
## Releasing to the Maven Snapshot repository
16+
17+
1. Update version in `gradle.properties` with `-SNAPSHOT`
18+
2. `./gradlew publishAllPublicationsToMavenCentralRepository`
19+
3. Add the `maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") }` repository and the library to the consumer project
20+

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ SONATYPE_HOST=S01
2727
RELEASE_SIGNING_ENABLED=true
2828

2929
GROUP=com.sebastianneubauer.jsontree
30-
VERSION_NAME=2.2.0
30+
VERSION_NAME=2.3.0
3131

3232
POM_INCEPTION_YEAR=2023
3333
POM_URL=https://github.com/snappdevelopment/JsonTree

jsontree/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ android.nonTransitiveRClass=true
33
#Publishing
44
POM_ARTIFACT_ID=jsontree
55
POM_NAME=JsonTree
6-
POM_DESCRIPTION=A android library to display json data in Compose
6+
POM_DESCRIPTION=A Kotlin Multiplatform library to display json data in Compose

0 commit comments

Comments
 (0)