From aa9e8309be893d1f68905fd5088c2750a33bcb64 Mon Sep 17 00:00:00 2001 From: Thijs Koppen Date: Thu, 26 Dec 2024 01:29:39 +0100 Subject: [PATCH] Release 0.0.5 checklist items --- CHANGELOG.md | 3 +++ README.md | 9 +++++---- gradle.properties | 7 ++++--- tests/gradle.properties | 11 +++++++---- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59a3a1b..417b41a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.0.5 +- Remove inline modifier on generated extension functions so they can be mocked + ## 0.0.4 - Add DSL for bulk updates - Add printing of the Panache query at DEBUG log level diff --git a/README.md b/README.md index e2454c7..43fe222 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![License](https://img.shields.io/badge/license-Apache_2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt) -[![Maven Central](https://img.shields.io/badge/maven_central-0.0.4-brightgreen.svg)](https://search.maven.org/artifact/ch.icken/panache-kotlin-dsl/0.0.4/jar) +[![Maven Central](https://img.shields.io/badge/maven_central-0.0.5-brightgreen.svg)](https://search.maven.org/artifact/ch.icken/panache-kotlin-dsl/0.0.5/jar) [![Test](https://github.com/Thijsiez/panache-kotlin-dsl/actions/workflows/test.yaml/badge.svg?branch=main)](https://github.com/Thijsiez/panache-kotlin-dsl/actions/workflows/test.yaml) ![Quality Gate Status](https://sonarqube.icken.ch/api/project_badges/measure?project=Thijsiez_panache-kotlin-dsl_760170ef-68c7-43b0-880d-cf1034afe3c6&metric=alert_status&token=sqb_cfafb36de6f18194da2e383324ee281b0de5b953) ![Reliability Rating](https://sonarqube.icken.ch/api/project_badges/measure?project=Thijsiez_panache-kotlin-dsl_760170ef-68c7-43b0-880d-cf1034afe3c6&metric=reliability_rating&token=sqb_cfafb36de6f18194da2e383324ee281b0de5b953) @@ -21,7 +21,8 @@ A dynamic, type-safe way to write your queries
Gradle Kotlin DSL -Add the KSP Gradle plugin to your build file +Add the KSP Gradle plugin to your build file +Important: the version is dependent on your version of Kotlin, see the Requirements section ```kotlin plugins { id("com.google.devtools.ksp") version "2.0.21-1.0.28" @@ -30,8 +31,8 @@ plugins { Add this library to your build file and register it with KSP ```kotlin dependencies { - implementation("ch.icken:panache-kotlin-dsl:0.0.4") - ksp("ch.icken:panache-kotlin-dsl:0.0.4") + implementation("ch.icken:panache-kotlin-dsl:0.0.5") + ksp("ch.icken:panache-kotlin-dsl:0.0.5") } ``` Optionally configure the behavior diff --git a/gradle.properties b/gradle.properties index ac7b131..3187106 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ #region POM groupId=ch.icken artifactId=panache-kotlin-dsl -version=0.0.4 +version=0.0.5 POM_NAME=Panache Kotlin DSL POM_DESCRIPTION=A dynamic, type-safe way to write your queries @@ -65,11 +65,12 @@ compileTestingVersion=1.6.0 #endregion #region Plugins -#https://github.com/Kotlin/dokka +#https://github.com/Kotlin/dokka Pinned, do not change +# Dokka 2.x.x needs at least Kotlin 2.0.20, which is too new dokkaVersion=1.9.20 #https://github.com/Kotlin/kotlinx-kover -koverVersion=0.8.3 +koverVersion=0.9.0 #https://github.com/vanniktech/gradle-maven-publish-plugin mavenPublishVersion=0.30.0 diff --git a/tests/gradle.properties b/tests/gradle.properties index 3935f4c..816d7a9 100644 --- a/tests/gradle.properties +++ b/tests/gradle.properties @@ -17,7 +17,7 @@ #region Dependencies #https://github.com/quarkusio/quarkus # Can be upgraded freely and probably should be -quarkusVersion=3.17.3 +quarkusVersion=3.17.5 #https://github.com/JetBrains/kotlin # Needs to match Quarkus Kotlin version for compatibility @@ -29,16 +29,19 @@ kspVersion=2.0.21-1.0.28 #endregion #region Plugins -#https://github.com/Kotlin/dokka +#https://github.com/Kotlin/dokka Pinned, do not change +# Keep the same version as the library project dokkaVersion=1.9.20 #https://github.com/Kotlin/kotlinx-kover -koverVersion=0.8.3 +# Keep the same version as the library project +koverVersion=0.9.0 #https://plugins.gradle.org/plugin/org.sonarqube -sonarqubeVersion=5.1.0.4882 +sonarqubeVersion=6.0.1.5171 #https://github.com/vanniktech/gradle-maven-publish-plugin +# Keep the same version as the library project mavenPublishVersion=0.30.0 #endregion