diff --git a/README.md b/README.md index 8b59ffc22..82e486ab0 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,21 @@ dependencies { } ``` +### Version catalog entries + +```toml +[versions] +geary = "x.y.z" + +[libraries] +geary-core = { module = "com.mineinabyss:geary-autoscan", version.ref = "geary" } +geary-actions = { module = "com.mineinabyss:geary-actions", version.ref = "geary" } +geary-autoscan = { module = "com.mineinabyss:geary-autoscan", version.ref = "geary" } +geary-prefabs = { module = "com.mineinabyss:geary-prefabs", version.ref = "geary" } +geary-serialization = { module = "com.mineinabyss:geary-serialization", version.ref = "geary" } +geary-uuid = { module = "com.mineinabyss:geary-uuid", version.ref = "geary" } +``` + ## Roadmap As the project matures, our primary goal is to make it useful to more people. Here are a handful of features we hope to achieve: diff --git a/geary-catalog/build.gradle.kts b/geary-catalog/build.gradle.kts deleted file mode 100644 index 822cfee69..000000000 --- a/geary-catalog/build.gradle.kts +++ /dev/null @@ -1,23 +0,0 @@ -plugins { - `version-catalog` - id("com.mineinabyss.conventions.publication") -} - -catalog { - versionCatalog { - // Add aliases for all our conventions plugins - rootProject.file("addons").list() - ?.plus(rootProject.file(".").list()?.filter { it.startsWith("geary") } ?: emptyList()) - ?.forEach { name -> - library(name.removePrefix("geary-"), "com.mineinabyss:$name:$version") - } - } -} - -publishing { - publications { - create("maven") { - from(components["versionCatalog"]) - } - } -} diff --git a/settings.gradle.kts b/settings.gradle.kts index 43c7a9112..eb2b95f4d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -28,7 +28,6 @@ dependencyResolutionManagement { include( "geary-benchmarks", "geary-core", - "geary-catalog", ) // Go through addons directory and load all projects based on file name