-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
48 lines (40 loc) · 1.26 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
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription
plugins {
id("java")
id("io.github.goooler.shadow") version "8.1.7"
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
}
group = "com.hjk321.bigspender"
version = "1.1"
description = "Allows players to run commands with shorthand money values as arguments."
project.ext["author"] = "hjk321"
project.ext["url"] = "https://hangar.papermc.io/hjk321/BigSpender"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
dependencies {
compileOnly("org.bukkit:bukkit:1.8-R0.1-SNAPSHOT")
implementation("org.bstats:bstats-bukkit:3.0.2")
compileOnly("me.clip:placeholderapi:2.11.6")
}
bukkit {
main = "com.hjk321.bigspender.BigSpender"
apiVersion = "1.13"
softDepend = listOf("PlaceholderAPI")
permissions {
register("bigspender.use") {
description = "BigSpender will process this user's commands."
default = BukkitPluginDescription.Permission.Default.TRUE
}
}
}
tasks.shadowJar {
relocate("org.bstats", "com.hjk321.bigspender.bstats")
}