-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
81 lines (67 loc) · 3.75 KB
/
settings.gradle.kts
File metadata and controls
81 lines (67 loc) · 3.75 KB
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
import org.gradle.kotlin.dsl.mavenCentral
import org.gradle.kotlin.dsl.repositories
rootProject.name = "stardust"
dependencyResolutionManagement {
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://repo.dmulloy2.net/repository/public/")
maven ("https://repo.bluecolored.de/releases")
maven("https://repo.codemc.io/repository/maven-releases/")
maven {
name = "OneLiteFeatherRepository"
url = uri("https://repo.onelitefeather.dev/onelitefeather")
if (System.getenv("CI") != null) {
credentials {
username = System.getenv("ONELITEFEATHER_MAVEN_USERNAME")
password = System.getenv("ONELITEFEATHER_MAVEN_PASSWORD")
}
} else {
credentials(PasswordCredentials::class)
authentication {
create<BasicAuthentication>("basic")
}
}
}
}
versionCatalogs {
create("libs") {
version("hibernate", "7.2.5.Final")
version("paper", "1.21.10-R0.1-SNAPSHOT")
version("luckperms", "5.5")
version("protocolLib", "5.3.0")
version("bluemapApi", "2.7.7")
version("jaxbRuntime", "4.0.6")
version("postgresql", "42.7.10")
version("apacheCommons", "3.20.0")
version("junitApi", "5.11.0")
version("bom", "1.6.1")
version("mockbukit", "4.101.0")
plugin("pluginYaml", "net.minecrell.plugin-yml.paper").version("0.6.0")
plugin("shadow", "com.gradleup.shadow").version("9.3.1")
plugin("runServer", "xyz.jpenilla.run-paper").version("3.0.2")
library("mycelium.bom", "net.onelitefeather", "mycelium-bom").versionRef("bom")
library("paper", "io.papermc.paper", "paper-api").versionRef("paper")
library("luckperms", "net.luckperms", "api").versionRef("luckperms")
library("protocolLib", "com.comphenix.protocol", "ProtocolLib").versionRef("protocolLib")
library("bluemapApi", "de.bluecolored", "bluemap-api").versionRef("bluemapApi")
library("packetEvents", "com.github.retrooper", "packetevents-spigot").version("2.11.2")
library("cloudPaper", "org.incendo", "cloud-paper").version("2.0.0-SNAPSHOT")
library("cloudAnnotations", "org.incendo", "cloud-annotations").version("2.0.0")
library("cloudExtras", "org.incendo", "cloud-minecraft-extras").version("2.0.0-SNAPSHOT")
//Database
library("hibernateCore", "org.hibernate", "hibernate-core").versionRef("hibernate")
library("hibernateHikariCP", "org.hibernate", "hibernate-hikaricp").versionRef("hibernate")
library("jaxbRuntime", "org.glassfish.jaxb", "jaxb-runtime").versionRef("jaxbRuntime")
library("postgresql", "org.postgresql", "postgresql").versionRef("postgresql")
library("apacheCommons", "org.apache.commons", "commons-lang3").versionRef("apacheCommons")
library("junit-jupiter", "org.junit.jupiter", "junit-jupiter").withoutVersion()
library("junit-jupiter-engine", "org.junit.jupiter", "junit-jupiter-engine").withoutVersion()
library("junit.platform.launcher", "org.junit.platform", "junit-platform-launcher").withoutVersion()
library("mockbukkit", "org.mockbukkit.mockbukkit", "mockbukkit-v1.21").versionRef("mockbukit")
bundle("cloud", listOf("cloudPaper", "cloudAnnotations", "cloudExtras"))
bundle("hibernate", listOf("hibernateCore", "hibernateHikariCP"))
}
}
}