File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 4
4
* .iws
5
5
.idea /
6
6
.gradle /
7
+ run /
7
8
out /
8
9
build /
9
10
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" java-library" )
3
3
id(" net.minecrell.plugin-yml.bukkit" ) version " 0.5.1"
4
+ id(" xyz.jpenilla.run-paper" ) version " 1.0.6"
4
5
}
5
6
6
7
dependencies {
@@ -57,6 +58,13 @@ bukkit {
57
58
version = " ${project.version} "
58
59
}
59
60
61
+
62
+ tasks {
63
+ runServer {
64
+ minecraftVersion(" 1.18.2" )
65
+ }
66
+ }
67
+
60
68
tasks.withType< com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar > {
61
69
archiveFileName.set(" EternalCore v${project.version} (MC 1.17-1.18x).jar" )
62
70
@@ -76,8 +84,8 @@ tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
76
84
relocate(" net.kyori" , " com.eternalcode.core.libs.net.kyori" )
77
85
78
86
// for debug :D
79
- /* copy {
80
- this.from("build/libs/" + archiveFileName.get())
81
- this.into("C:/Users/")
82
- } */
87
+ // copy {
88
+ // this.from("build/libs/" + archiveFileName.get())
89
+ // this.into("C:/Users/")
90
+ // }
83
91
}
You can’t perform that action at this time.
0 commit comments