Skip to content

Commit 204034e

Browse files
authored
Merge branch 'master' into documentation
2 parents d75f5b4 + 3a6b8d1 commit 204034e

File tree

2 files changed

+27
-32
lines changed

2 files changed

+27
-32
lines changed

build.gradle.kts

+27-11
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ plugins {
22
java
33
`maven-publish`
44
id("com.github.johnrengelman.shadow") version "8.1.1"
5+
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
56
}
67

78
group = "com.iridium"
89
version = "4.1.0"
9-
description = "IridiumSkyblock"
10+
description = "Skyblock Redefined"
1011

1112
repositories {
1213
mavenCentral()
@@ -37,6 +38,31 @@ dependencies {
3738
annotationProcessor("org.projectlombok:lombok:1.18.34")
3839
}
3940

41+
bukkit {
42+
main = "com.iridium.iridiumskyblock.IridiumSkyblock"
43+
apiVersion = "1.13"
44+
author = "Peaches_MLG"
45+
46+
loadBefore = listOf("Multiverse-Core")
47+
depend = listOf("Vault")
48+
softDepend = listOf(
49+
"MVdWPlaceholderAPI",
50+
"PlaceholderAPI",
51+
"Essentials",
52+
"EssentialsSpawn",
53+
"RoseStacker",
54+
"WorldEdit",
55+
"ObsidianStacker"
56+
)
57+
58+
commands {
59+
register("iridiumskyblock") {
60+
description = "Main plugin command"
61+
aliases = listOf("is", "island")
62+
}
63+
}
64+
}
65+
4066
tasks {
4167
// Add the shadowJar task to the build task
4268
build {
@@ -68,16 +94,6 @@ tasks {
6894
options.encoding = "UTF-8"
6995
}
7096

71-
// Process Placeholders for the plugin.yml
72-
processResources {
73-
filesMatching("**/plugin.yml") {
74-
expand(rootProject.project.properties)
75-
}
76-
77-
// Always re-run this task
78-
outputs.upToDateWhen { false }
79-
}
80-
8197
compileJava {
8298
sourceCompatibility = JavaVersion.VERSION_1_8.toString()
8399
targetCompatibility = JavaVersion.VERSION_1_8.toString()

src/main/resources/plugin.yml

-21
This file was deleted.

0 commit comments

Comments
 (0)