mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
build & dependency updates
This commit is contained in:
4 files changed
+26
-12
No files matched your search
@@ -76,6 +76,18 @@ class PaperPluginDescription(project: Project) : PluginDescription {
|
||||
@JsonProperty("load-before")
|
||||
val loadBefore: MutableList<LoadInfo> = mutableListOf()
|
||||
|
||||
fun dependency(name: String, required: Boolean = true, bootstrap: Boolean = false) {
|
||||
dependencies.add(Dependency(name, required, bootstrap))
|
||||
}
|
||||
|
||||
fun loadAfter(name: String, bootstrap: Boolean = false) {
|
||||
loadAfter.add(LoadInfo(name, bootstrap))
|
||||
}
|
||||
|
||||
fun loadBefore(name: String, bootstrap: Boolean = false) {
|
||||
loadBefore.add(LoadInfo(name, bootstrap))
|
||||
}
|
||||
|
||||
data class Dependency(@Input val name: String, @Input val required: Boolean = true, @Input val bootstrap: Boolean = false)
|
||||
|
||||
data class LoadInfo(@Input val name: String, @Input val bootstrap: Boolean = false)
|
||||
|
||||
@@ -45,7 +45,7 @@ versions:
|
||||
hikari: 5.0.1
|
||||
mysql: 8.0.33
|
||||
protobuf: 3.21.9
|
||||
flyway: 9.22.2
|
||||
flyway: 9.22.3
|
||||
caffeine: 3.1.8
|
||||
mariadb: 3.2.0
|
||||
messenger: 1.1.0-SNAPSHOT
|
||||
|
||||
+11
-9
@@ -62,17 +62,19 @@ paper {
|
||||
main = "net.draycia.carbon.paper.CarbonPaperBootstrap"
|
||||
apiVersion = "1.19"
|
||||
author = "Draycia"
|
||||
loadAfter += PaperPluginDescription.LoadInfo("LuckPerms")
|
||||
loadAfter += PaperPluginDescription.LoadInfo("EssentialsDiscord")
|
||||
loadAfter += PaperPluginDescription.LoadInfo("DiscordSRV")
|
||||
loadAfter += PaperPluginDescription.LoadInfo("PlaceholderAPI")
|
||||
dependencies += PaperPluginDescription.Dependency("LuckPerms", true)
|
||||
dependencies += PaperPluginDescription.Dependency("PlaceholderAPI", false)
|
||||
dependencies += PaperPluginDescription.Dependency("EssentialsDiscord", false)
|
||||
dependencies += PaperPluginDescription.Dependency("DiscordSRV", false)
|
||||
dependencies += PaperPluginDescription.Dependency("MiniPlaceholders", false)
|
||||
website = GITHUB_REPO_URL
|
||||
foliaSupported = true
|
||||
|
||||
loadAfter("LuckPerms")
|
||||
loadAfter("EssentialsDiscord")
|
||||
loadAfter("DiscordSRV")
|
||||
loadAfter("PlaceholderAPI")
|
||||
|
||||
dependency("LuckPerms", true)
|
||||
dependency("PlaceholderAPI", false)
|
||||
dependency("EssentialsDiscord", false)
|
||||
dependency("DiscordSRV", false)
|
||||
dependency("MiniPlaceholders", false)
|
||||
}
|
||||
|
||||
bukkit {
|
||||
|
||||
@@ -19,8 +19,8 @@ dependencies {
|
||||
|
||||
configurations.runtimeClasspath {
|
||||
resolutionStrategy.force(
|
||||
"org.ow2.asm:asm:9.5",
|
||||
"org.ow2.asm:asm-commons:9.5",
|
||||
"org.ow2.asm:asm:9.6",
|
||||
"org.ow2.asm:asm-commons:9.6",
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user