aboutsummaryrefslogtreecommitdiffhomepage
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2023-11-25 16:03:07 -0800
committerJason Penilla <[email protected]>2023-11-25 17:44:48 -0800
commite5e7c12af8feb1cebb7efca42b7121553537deb2 (patch)
tree86728880ab71594209ad3107a82f5fd017924cd6 /settings.gradle.kts
parented753d34d20e0a837bce495df6a37da008b78cb9 (diff)
downloadPaper-e5e7c12af8feb1cebb7efca42b7121553537deb2.tar.gz
Paper-e5e7c12af8feb1cebb7efca42b7121553537deb2.zip
Version Catalogs initial POCversion-catalogs
todo - needs release build of multi-version-catalog - need to go through the patches and migrate all the dependencies & versions
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts6
1 files changed, 6 insertions, 0 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
index f6aac1f56c..463155e7ff 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -9,6 +9,7 @@ pluginManagement {
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
+ id("io.papermc.multi-version-catalog") version "1.0.0-SNAPSHOT"
}
if (!file(".git").exists()) {
@@ -39,6 +40,11 @@ for (name in listOf("Paper-API", "Paper-Server", "Paper-MojangAPI")) {
findProject(":$projName")!!.projectDir = file(name)
}
+multiVersionCatalog.fromFiles(
+ "libs",
+ rootProject.children.map { it.projectDir.resolve("gradle/libs.versions.toml") }
+)
+
mapOf("test-plugin.settings.gradle.kts" to """
// Uncomment to enable the test plugin module
// include(":test-plugin")