forked from SLNE-Development/surf-lobby-jump-and-run
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
65 lines (49 loc) · 1.59 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import dev.slne.surf.surfapi.gradle.util.registerRequired
import dev.slne.surf.surfapi.gradle.util.registerSoft
plugins {
id("io.freefair.lombok") version "8.11"
id("dev.slne.surf.surfapi.gradle.paper-plugin")
}
group = "dev.slne"
version = "1.21.4-2.0.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
dependencies {
implementation("dev.hsbrysk:caffeine-coroutines:2.0.0")
implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.21.0")
implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.21.0")
implementation("org.jetbrains.exposed:exposed-core:0.59.0")
implementation("org.jetbrains.exposed:exposed-dao:0.59.0")
implementation("org.jetbrains.exposed:exposed-jdbc:0.59.0")
implementation("fr.skytasul:glowingentities:1.4.3")
implementation("com.github.stefvanschie.inventoryframework:IF:0.10.19")
}
surfPaperPluginApi {
mainClass("dev.slne.surf.parkour.SurfParkour")
generateLibraryLoader(false)
authors.add("SLNE Development")
authors.add("Jo_field (Extern)")
serverDependencies {
registerRequired("CommandAPI")
registerSoft("PlaceholderAPI")
}
runServer {
minecraftVersion("1.21.4")
downloadPlugins {
modrinth("CommandAPI", "9.7.0")
modrinth("PlaceholderAPI", "2.11.6")
}
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks {
shadowJar {
archiveFileName.set("surf-parkour-${version}.jar")
}
}