From a942015a38a9265e1da0349a847912c3ef77bd40 Mon Sep 17 00:00:00 2001 From: Jurriaan Mous Date: Sun, 10 Dec 2023 20:49:16 +0100 Subject: [PATCH] Update to 0.3-SNAPSHOT after release. Update README to reflect the library has been released. Update artifacts to be prefixed with `maryk-` --- README.md | 5 +++-- .../src/main/kotlin/maryk/conventions/publishing.gradle.kts | 2 +- build.gradle.kts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d0bd66a8a..aad98d9a7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0) +[![Download](https://img.shields.io/maven-central/v/io.maryk/maryk-core)](https://central.sonatype.com/artifact/io.maryk/maryk-core) + # Maryk: Cross-Platform Data Modeling and Storage Maryk is a Kotlin Multiplatform project that allows developers to define, validate, @@ -58,8 +61,6 @@ To get started with Maryk, follow these steps: 1. Add Maryk's core dependency to your Kotlin Multiplatform project Gradle configuration: -**Note**: At this moment Maryk is not yet published to Maven Central. For now you have to publish it locally and add it to your project. - ```gradle implementation "io.maryk:maryk-core:$version" ``` diff --git a/build-logic/src/main/kotlin/maryk/conventions/publishing.gradle.kts b/build-logic/src/main/kotlin/maryk/conventions/publishing.gradle.kts index 9735680e4..baabdfa9d 100644 --- a/build-logic/src/main/kotlin/maryk/conventions/publishing.gradle.kts +++ b/build-logic/src/main/kotlin/maryk/conventions/publishing.gradle.kts @@ -1,7 +1,6 @@ package maryk.conventions import org.gradle.api.plugins.JavaBasePlugin.DOCUMENTATION_GROUP -import org.gradle.kotlin.dsl.* /** * Conventions for publishing. @@ -43,6 +42,7 @@ val sonatypeReleaseUrl = isReleaseVersion.map { isRelease -> publishing { publications.withType().configureEach { pom { + artifactId = "maryk-${artifactId}" name.convention("Maryk") description.convention("Maryk is a Kotlin Multiplatform library which helps you to store, query and send data in a structured way over multiple platforms. The data store stores any value with a version, so it is possible to request only the changed data or live listen for updates.") url.convention("https://github.com/marykdb/maryk") diff --git a/build.gradle.kts b/build.gradle.kts index 7155a9e1a..a0f613405 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,4 +3,4 @@ plugins { } group = "io.maryk" -version = "0.2-SNAPSHOT" +version = "0.3-SNAPSHOT"