File tree 3 files changed +13
-2
lines changed
3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 5
5
target /
6
6
build /
7
7
.gradle /
8
+ run /
Original file line number Diff line number Diff line change @@ -3,13 +3,16 @@ plugins {
3
3
kotlin(" plugin.serialization" ) version " 2.0.21"
4
4
5
5
id(" com.gradleup.shadow" ) version " 8.3.3"
6
+
7
+ id(" xyz.jpenilla.run-paper" ) version " 2.3.1"
6
8
}
7
9
8
10
group = " com.zp4rker"
9
11
version = " 2.0.0-k2.0.21"
10
- description = " Kotlin meets Bukkit. Kotlin packaged into a plugin, as well as some added features using Kotlin. "
12
+ description = " Kotlin meets Bukkit. Kotlin packaged into a plugin, as well as some added features using Kotlin"
11
13
12
14
val mcVersion = " 1.21.1"
15
+ project.ext[" mcVersion" ] = mcVersion
13
16
14
17
repositories {
15
18
mavenCentral()
@@ -35,6 +38,7 @@ tasks {
35
38
36
39
shadowJar {
37
40
archiveFileName = filename
41
+ relocate(" org.bstats" , " com.zp4rker.bukkot.bstats" )
38
42
}
39
43
40
44
processResources {
@@ -50,4 +54,11 @@ tasks {
50
54
build {
51
55
dependsOn(shadowJar)
52
56
}
57
+
58
+ runServer {
59
+ minecraftVersion(mcVersion)
60
+ subprojects.forEach {
61
+ pluginJars(it.tasks.jar.map { jar -> jar.archiveFile })
62
+ }
63
+ }
53
64
}
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ libraries:
5
5
- org.jetbrains.kotlin:kotlin-stdlib:2.0.21
6
6
- org.jetbrains.kotlin:kotlin-reflect:2.0.21
7
7
- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0
8
- - org.bstats:bstats-bukkit:1.7
9
8
10
9
name : Bukkot
11
10
version : ${version}
You can’t perform that action at this time.
0 commit comments