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:
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:
// 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)
}
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-datetimethe resulting version catalog definition should beexposed.kotlin.datetimewhich would be defined as: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: