@@ -2,11 +2,12 @@ plugins {
2
2
java
3
3
`maven- publish`
4
4
id(" com.github.johnrengelman.shadow" ) version " 8.1.1"
5
+ id(" net.minecrell.plugin-yml.bukkit" ) version " 0.6.0"
5
6
}
6
7
7
8
group = " com.iridium"
8
9
version = " 4.1.0"
9
- description = " IridiumSkyblock "
10
+ description = " Skyblock Redefined "
10
11
11
12
repositories {
12
13
mavenCentral()
@@ -37,6 +38,31 @@ dependencies {
37
38
annotationProcessor(" org.projectlombok:lombok:1.18.34" )
38
39
}
39
40
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
+
40
66
tasks {
41
67
// Add the shadowJar task to the build task
42
68
build {
@@ -68,16 +94,6 @@ tasks {
68
94
options.encoding = " UTF-8"
69
95
}
70
96
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
-
81
97
compileJava {
82
98
sourceCompatibility = JavaVersion .VERSION_1_8 .toString()
83
99
targetCompatibility = JavaVersion .VERSION_1_8 .toString()
0 commit comments