aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0449-Version-Catalog-POC.patch
blob: 53422ef12f270ff1abd2382404a0037d5b09efb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
Date: Sat, 25 Nov 2023 16:01:27 -0800
Subject: [PATCH] Version Catalog POC


diff --git a/build.gradle.kts b/build.gradle.kts
index e827ee211e3c65dc68ac5867fd8476639df63645..76153b68ef7a6cfbea5350229362d52122bf8c35 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -11,7 +11,7 @@ java {
 
 val annotationsVersion = "24.0.1"
 val bungeeCordChatVersion = "1.20-R0.1"
-val adventureVersion = "4.14.0"
+val adventureVersion = libs.versions.adventure.get()
 val slf4jVersion = "1.8.0-beta4"
 val log4jVersion = "2.17.1"
 val apiAndDocs: Configuration by configurations.creating {
@@ -32,7 +32,7 @@ dependencies {
     api("com.google.code.gson:gson:2.10.1")
     api("net.md-5:bungeecord-chat:$bungeeCordChatVersion-deprecated+build.14") // Paper
     api("org.yaml:snakeyaml:2.2")
-    api("org.joml:joml:1.10.5")
+    api(libs.joml)
     // Paper start
     api("com.googlecode.json-simple:json-simple:1.1.1") {
         isTransitive = false // includes junit
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
new file mode 100644
index 0000000000000000000000000000000000000000..791bbc8d0d4b277a637c665b20a507e1d44f75f8
--- /dev/null
+++ b/gradle/libs.versions.toml
@@ -0,0 +1,5 @@
+[versions]
+adventure = "4.14.0"
+
+[libraries]
+joml = "org.joml:joml:1.10.5"