forked from ProxioDev/ValioBungee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
87 lines (66 loc) · 2.89 KB
/
settings.gradle.kts
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
pluginManagement {
repositories {
gradlePluginPortal()
}
}
rootProject.name = "ValioBungee"
val projects = arrayOf(
":RedisBungee-API" to "api",
":RedisBungee-Commands" to "commands",
":RedisBungee-Velocity" to "proxies/velocity",
":RedisBungee-Bungee" to "proxies/bungeecord/bungeecord-api",
":RedisBungee-Proxy-Bungee" to "proxies/bungeecord",
":RedisBungee-Velocity" to "proxies/velocity/velocity-api",
":RedisBungee-Proxy-Velocity" to "proxies/velocity",
)
projects.forEach { (projectName, filePath) ->
include(projectName)
project(projectName).projectDir = file(filePath)
}
dependencyResolutionManagement {
repositories {
mavenCentral()
maven {
name = "PaperMC"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
// hosts the bungeecord apis
name = "sonatype"
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
maven {
name = "aikar repo"
url = uri("https://repo.aikar.co/content/groups/aikar/")
}
}
versionCatalogs {
val jedisVersion = "5.1.2"
val configurateVersion = "3.7.3"
val guavaVersion = "31.1-jre"
val okHttpVersion = "2.7.5"
val caffeineVersion = "3.1.8"
val adventureVersion = "4.16.0"
val acf = "0.5.1-SNAPSHOT"
val bungeecordApiVersion = "1.20-R0.1-SNAPSHOT"
val velocityVersion = "3.3.0-SNAPSHOT";
create("libs") {
library("guava", "com.google.guava:guava:$guavaVersion")
library("jedis", "redis.clients:jedis:$jedisVersion")
library("okhttp", "com.squareup.okhttp:okhttp:$okHttpVersion")
library("configurate", "org.spongepowered:configurate-yaml:$configurateVersion")
library("caffeine", "com.github.ben-manes.caffeine:caffeine:$caffeineVersion")
library("adventure-api", "net.kyori:adventure-api:$adventureVersion")
library("adventure-gson", "net.kyori:adventure-text-serializer-gson:$adventureVersion")
library("adventure-legacy", "net.kyori:adventure-text-serializer-legacy:$adventureVersion")
library("adventure-plain", "net.kyori:adventure-text-serializer-plain:$adventureVersion")
library("adventure-miniMessage", "net.kyori:adventure-text-minimessage:$adventureVersion")
library("acf-core", "co.aikar:acf-core:$acf")
library("acf-bungeecord", "co.aikar:acf-bungee:$acf")
library("acf-velocity", "co.aikar:acf-velocity:$acf")
library("platform-bungeecord","net.md-5:bungeecord-api:$bungeecordApiVersion")
library("adventure-platforms-bungeecord", "net.kyori:adventure-platform-bungeecord:4.3.2")
library("platform-velocity", "com.velocitypowered:velocity-api:$velocityVersion")
}
}
}