ITADN

Version Catalog

#2480OpennomisRev 创建于 2025-05-16
N
nomisRevcommented
Add support for exporting Version Catalog from the project. Dependencies should be created in such a way that they're all grouped under the name `exposed`, followed by their module name. For example for the Gradle module `kotlin-datetime` the resulting version catalog definition should be `exposed.kotlin.datetime` which would be defined as: ```kotlin catalog { versionCatalog { create("exposed") { library("kotlin-datetime", "org.jetbrains.exposed:exposed-kotlin-datetime:${version}") } } } ``` From the user perspective this should result in following API: The user should be able to write: ```kotlin // settings.gradle.kts dependencyResolutionManagement { versionCatalogs { create("exposed") { from("org.jetbrains.exposed:exposed-version-catalog:x.x.x") } } } // build.gradle.kts dependencies { implementation(exposed.jdbc) implementation(exposed.kotlin.datetime) } ```
5 条评论