-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
49 lines (42 loc) · 1.12 KB
/
build.gradle.kts
File metadata and controls
49 lines (42 loc) · 1.12 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
java
id("com.github.johnrengelman.shadow") version "7.0.0"
id("io.papermc.paperweight.userdev") version "1.3.9-SNAPSHOT"
}
group = "com.azortis"
version = "1.0.0"
repositories {
mavenCentral()
maven {
url = uri("https://papermc.io/repo/repository/maven-public/")
}
maven {
url = uri("https://oss.sonatype.org/content/groups/public/")
}
maven {
url = uri("https://maven.enginehub.org/repo/")
}
}
dependencies {
paperDevBundle("1.19-R0.1-SNAPSHOT")
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.7")
compileOnly("net.kyori:adventure-api:4.11.0")
implementation("cloud.commandframework:cloud-core:1.7.0")
implementation("cloud.commandframework:cloud-paper:1.7.0")
implementation("cloud.commandframework:cloud-annotations:1.7.0")
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
tasks {
named<ShadowJar>("shadowJar") {
mergeServiceFiles()
}
}
tasks {
build {
dependsOn(shadowJar)
dependsOn(reobfJar)
}
}