build: Update Gradle and plugins, small cleanup to build scripts
This commit is contained in:
parent
9692593095
commit
fb48a3c8af
19 changed files with 245 additions and 189 deletions
|
|
@ -1,8 +1,21 @@
|
|||
plugins {
|
||||
id("cloud.example-conventions")
|
||||
id("com.github.johnrengelman.shadow")
|
||||
id("xyz.jpenilla.run-paper") version "1.0.3-SNAPSHOT"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
/* Cloud */
|
||||
implementation(project(":cloud-paper"))
|
||||
implementation(project(":cloud-annotations"))
|
||||
implementation(project(":cloud-minecraft-extras"))
|
||||
/* Extras */
|
||||
implementation("me.lucko", "commodore", Versions.commodore)
|
||||
implementation("net.kyori", "adventure-platform-bukkit", Versions.adventurePlatform)
|
||||
/* Bukkit */
|
||||
compileOnly("org.bukkit", "bukkit", Versions.bukkit)
|
||||
}
|
||||
|
||||
tasks {
|
||||
shadowJar {
|
||||
dependencies {
|
||||
|
|
@ -18,15 +31,3 @@ tasks {
|
|||
legacyPluginLoading()
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
/* Cloud */
|
||||
implementation(project(":cloud-paper"))
|
||||
implementation(project(":cloud-annotations"))
|
||||
implementation(project(":cloud-minecraft-extras"))
|
||||
/* Extras */
|
||||
implementation("me.lucko", "commodore", Versions.commodore)
|
||||
implementation("net.kyori", "adventure-platform-bukkit", Versions.adventurePlatform)
|
||||
/* Bukkit */
|
||||
compileOnly("org.bukkit", "bukkit", Versions.bukkit)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
plugins {
|
||||
id("cloud.example-conventions")
|
||||
id ("com.github.johnrengelman.shadow")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
plugins {
|
||||
id("cloud.example-conventions")
|
||||
}
|
||||
|
||||
apply plugin: "application"
|
||||
apply plugin: "com.github.johnrengelman.shadow"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
application
|
||||
id("cloud.example-conventions")
|
||||
id("com.github.johnrengelman.shadow")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id ("com.github.johnrengelman.shadow")
|
||||
id("com.github.johnrengelman.shadow")
|
||||
id("cloud.example-conventions")
|
||||
}
|
||||
|
||||
val velocityRunClasspath by configurations.creating {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue