forked from Delta203/ChestSort
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
73 lines (61 loc) · 1.96 KB
/
build.gradle.kts
File metadata and controls
73 lines (61 loc) · 1.96 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
import org.jetbrains.changelog.date
plugins {
id("java")
id("net.minecrell.plugin-yml.bukkit") version "0.5.1"
id("org.jetbrains.changelog") version "1.3.1"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("xyz.jpenilla.run-paper") version "1.0.6"
}
group = "de.uniquegame"
version = "1.0.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.19-R0.1-SNAPSHOT")
implementation("cloud.commandframework", "cloud-paper", "1.7.0")
implementation("cloud.commandframework", "cloud-annotations", "1.7.0")
implementation("cloud.commandframework", "cloud-minecraft-extras", "1.7.0")
implementation("org.apache.commons:commons-lang3:3.0")
implementation("me.lucko:commodore:2.2") {
isTransitive = false
}
}
tasks {
compileJava {
options.release.set(17)
options.encoding = "UTF-8"
}
runServer {
minecraftVersion("1.19.2")
}
build {
dependsOn(shadowJar)
}
shadowJar {
archiveFileName.set("${rootProject.name}.${archiveExtension.getOrElse("jar")}")
}
}
bukkit {
main = "${rootProject.group}.containersort.ContainerSortPlugin"
apiVersion = "1.19"
name = "ContainerSort"
load = net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder.POSTWORLD
author = "UniqueGame"
permissions {
register("containersort.allow")
register("containersort.allow.others")
register("containersort.create")
register("containersort.create.others")
register("containersort.break.others")
}
}
changelog {
path.set("${project.projectDir}/CHANGELOG.md")
header.set(provider { "[${version.get()}] - ${date()}" })
itemPrefix.set("-")
keepUnreleasedSection.set(true)
unreleasedTerm.set("[Unreleased]")
groups.set(listOf("Added", "Changed", "Deprecated", "Removed", "Fixed", "Security"))
}