mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
[ci skip] Add a test plugin (#6133)
This commit is contained in:
@@ -127,6 +127,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ workingDir = rootProject.layout.projectDirectory.dir(
|
||||
+ providers.gradleProperty("runWorkDir").forUseAtConfigurationTime().orElse("run")
|
||||
+ ).get().asFile
|
||||
+
|
||||
+ if (rootProject.childProjects["test-plugin"] != null) {
|
||||
+ val testPluginJar = rootProject.project(":test-plugin").tasks.jar.flatMap { it.archiveFile }
|
||||
+ inputs.file(testPluginJar)
|
||||
+ args("-add-plugin=${testPluginJar.get().asFile.absolutePath}")
|
||||
+ }
|
||||
+
|
||||
+ args("--nogui")
|
||||
+ systemProperty("net.kyori.adventure.text.warnWhenLegacyFormattingDetected", true)
|
||||
+ if (project.hasProperty("disableWatchdog")) {
|
||||
|
Reference in New Issue
Block a user