-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
51 lines (45 loc) · 1.2 KB
/
build.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
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription
import net.minecrell.pluginyml.paper.PaperPluginDescription
plugins {
alias(libs.plugins.kotlin)
alias(libs.plugins.runPaper)
alias(libs.plugins.paperYAML)
alias(libs.plugins.paperWeight)
}
group = "net.ririfa"
version = "0.1.0"
description = "A original plugin for DES server."
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
libs.apply {
paperweight.paperDevBundle(versions.paper.get())
implementation(paper.api)
implementation(exposed.core)
implementation(exposed.jdbc)
implementation(exposed.dao)
implementation(exposed.json)
implementation(exposed.kotlin.datetime)
implementation(postgre)
implementation(igf)
}
}
paper {
name = "${project.name}-${project.version}"
description = project.description.toString()
version = project.version.toString()
apiVersion = "1.21"
main = "net.ririfa.des.DES"
generateLibrariesJson = true
foliaSupported = false
contributors = listOf("RiriFa")
load = BukkitPluginDescription.PluginLoadOrder.POSTWORLD
serverDependencies {
register("Kotlin") {
required = true
load = PaperPluginDescription.RelativeLoadOrder.BEFORE
}
}
}