Skip to content

Commit ecc9784

Browse files
LcyDevNotMyFault
authored andcommitted
Remove unnecessary variable
1 parent 558823b commit ecc9784

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,6 @@ tasks.getByName<Jar>("jar") {
216216
enabled = false
217217
}
218218

219-
val plotSquaredShadowJarProviders = project(":plotsquared-bukkit").tasks.named<Jar>("shadowJar").map { it.archiveFile }
220-
221219
val supportedVersions = listOf("1.19.4", "1.20.6", "1.21.1", "1.21.3", "1.21.4", "1.21.5", "1.21.6", "1.21.7", "1.21.8")
222220
tasks {
223221
register("cacheLatestFaweArtifact") {
@@ -233,8 +231,10 @@ tasks {
233231
register<RunServer>("runServer-$it") {
234232
dependsOn(getByName("cacheLatestFaweArtifact"))
235233
minecraftVersion(it)
236-
// Defer the access to the execution phase.
237-
pluginJars(project.files(plotSquaredShadowJarProviders))
234+
pluginJars(project.files(
235+
project(":plotsquared-bukkit").tasks.named<Jar>("shadowJar")
236+
.map { it.archiveFile }
237+
))
238238
jvmArgs("-DPaper.IgnoreJavaVersion=true", "-Dcom.mojang.eula.agree=true")
239239
downloadPlugins {
240240
url("https://ci.athion.net/job/FastAsyncWorldEdit/lastSuccessfulBuild/artifact/artifacts/${project.ext["faweArtifact"]}")

0 commit comments

Comments
 (0)