forked from woodyn1002/more-fish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
66 lines (59 loc) · 1.97 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
66
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription
plugins {
java
kotlin("jvm") version "1.3.0"
id("net.minecrell.plugin-yml.bukkit") version "0.3.0"
}
group = "net.piratjsk"
version = "0.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
jcenter()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("http://nexus.hc.to/content/repositories/pub_releases")
maven("http://repo.citizensnpcs.co/")
maven("http://repo.extendedclip.com/content/repositories/placeholderapi/")
maven("http://maven.sk89q.com/repo/")
maven("https://jitpack.io")
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
compileOnly("org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT")
compileOnly("net.milkbowl.vault:VaultAPI:1.7")
compileOnly("net.citizensnpcs:citizensapi:2.0.24-SNAPSHOT")
compileOnly("me.clip:placeholderapi:2.9.2")
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.0.0-SNAPSHOT")
compileOnly("com.sk89q.worldguard:worldguard-legacy:7.0.0-SNAPSHOT")
compileOnly("com.github.mcMMO-Dev:mcMMO:203d3749ee")
}
bukkit {
name = "Rby"
authors = listOf("piratjsk", "elsiff")
main = "net.piratjsk.rby.Rby"
softDepend = listOf("Vault", "Citizens", "PlaceholderAPI", "mcMMO", "WorldGuard")
apiVersion = "1.13"
commands {
register("rby") {
aliases = listOf("morefish", "mf", "fish")
}
}
permissions {
register("rby.admin") {
default = BukkitPluginDescription.Permission.Default.OP
}
register("rby.help") {
default = BukkitPluginDescription.Permission.Default.TRUE
}
register("rby.top") {
default = BukkitPluginDescription.Permission.Default.TRUE
}
register("rby.shop") {
default = BukkitPluginDescription.Permission.Default.OP
}
}
}
val jar: Jar by tasks
jar.from("LICENSE")