|
1 | 1 | plugins { |
2 | | - kotlin("jvm") version "1.7.20" |
3 | | - id("com.github.johnrengelman.shadow") version "7.1.2" |
4 | | - |
| 2 | + kotlin("jvm") version "1.9.0" |
| 3 | + id("com.github.johnrengelman.shadow") version "8.1.1" |
| 4 | + id("xyz.jpenilla.run-paper") version "2.1.0" |
5 | 5 | } |
6 | 6 |
|
7 | 7 | group = "com.kruthers" |
8 | | -version = "2.6.0" |
| 8 | +version = "2.6.2" |
9 | 9 | description = "The core plugin used to manage the gamemode 4 public server" |
10 | 10 |
|
11 | 11 | repositories { |
12 | 12 | mavenCentral() |
13 | | - maven { url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/") } |
14 | | - maven { url = uri("https://papermc.io/repo/repository/maven-public/") } |
15 | | - maven { url = uri("https://nexus.scarsz.me/content/groups/public/") } |
| 13 | + maven("https://repo.extendedclip.com/content/repositories/placeholderapi/") |
| 14 | + maven("https://papermc.io/repo/repository/maven-public/") |
| 15 | + maven("https://nexus.scarsz.me/content/groups/public/") |
16 | 16 | } |
17 | 17 |
|
18 | 18 | dependencies { |
19 | | - implementation(kotlin("stdlib")) |
| 19 | + compileOnly(kotlin("stdlib")) |
20 | 20 |
|
21 | | - implementation("net.kyori:adventure-api:4.11.0") |
| 21 | + compileOnly("net.kyori:adventure-api:4.11.0") |
22 | 22 |
|
23 | | - compileOnly("io.papermc.paper:paper-api:1.19.2-R0.1-SNAPSHOT") |
| 23 | + compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT") |
24 | 24 |
|
25 | | - implementation("cloud.commandframework","cloud-core","1.7.1") |
26 | | - implementation("cloud.commandframework","cloud-annotations","1.7.1") |
27 | | - implementation("cloud.commandframework","cloud-paper","1.7.1") |
28 | | - implementation("cloud.commandframework","cloud-minecraft-extras","1.7.1") |
| 25 | + val cloudVersion = "1.8.3" |
| 26 | + compileOnly("cloud.commandframework","cloud-core",cloudVersion) |
| 27 | + compileOnly("cloud.commandframework","cloud-annotations",cloudVersion) |
| 28 | + compileOnly("cloud.commandframework","cloud-paper",cloudVersion) |
| 29 | + compileOnly("cloud.commandframework","cloud-minecraft-extras",cloudVersion) |
29 | 30 |
|
30 | 31 | compileOnly("me.clip","placeholderapi","2.11.1") |
31 | 32 | compileOnly("net.luckperms","api","5.4") |
@@ -56,6 +57,10 @@ tasks { |
56 | 57 | processResources { |
57 | 58 | expand("name" to project.name, "description" to project.description, "version" to project.version) |
58 | 59 | } |
| 60 | + runServer { |
| 61 | + dependsOn("build") |
| 62 | + minecraftVersion("1.20.1") |
| 63 | + } |
59 | 64 | } |
60 | 65 |
|
61 | 66 |
|
|
0 commit comments