From c632f9e4c8afeb40c02568bd94884a8c286896b9 Mon Sep 17 00:00:00 2001 From: Yongshun Shreck Ye Date: Tue, 26 Nov 2024 11:02:12 +0800 Subject: [PATCH] Bump Exposed to v0.56.0 and add a related "Add to your dependencies" section in README.md --- README.md | 12 ++++++++++++ buildSrc/src/main/kotlin/VersionsAndDependencies.kt | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b11f00..a696abc 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,18 @@ A library based on [Exposed](https://github.com/JetBrains/Exposed) [DSL](https:/ This project is an attempt to provide an alternative to [Exposed DAO](https://github.com/JetBrains/Exposed/wiki/DAO) while supporting some more advanced functional programming features. See JetBrains/Exposed#24 for more details. +## Add to your dependencies + +### The Maven coordinate + +```kotlin +"com.huanshankeji:exposed-adt-mapping:$libraryVersion" +``` + +### **Important note** + +As Exposed is a library that has not reached stability yet and often has incompatible changes, you are recommended to stick to the same version of Exposed used by this library. The current version is v0.56.0. + ## Basic usage guide Please note that these APIs are far from stable. There are going to be refactors in future releases. diff --git a/buildSrc/src/main/kotlin/VersionsAndDependencies.kt b/buildSrc/src/main/kotlin/VersionsAndDependencies.kt index ab8d702..ff50cf3 100644 --- a/buildSrc/src/main/kotlin/VersionsAndDependencies.kt +++ b/buildSrc/src/main/kotlin/VersionsAndDependencies.kt @@ -1,7 +1,7 @@ import com.huanshankeji.CommonDependencies import com.huanshankeji.CommonVersions -val projectVersion = "0.2.0-SNAPSHOT" +val projectVersion = "0.3.0-SNAPSHOT" -val commonVersions = CommonVersions(kotlinCommon = "0.5.1") +val commonVersions = CommonVersions(kotlinCommon = "0.5.1", exposed = "0.56.0") val commonDependencies = CommonDependencies(commonVersions)