From 29b631e81499a5d76e370f62b1b4ea6b4ce26691 Mon Sep 17 00:00:00 2001 From: IzzelAliz Date: Mon, 26 Jul 2021 20:52:59 +0800 Subject: [PATCH] Fix build error/warning --- build.gradle | 2 +- .../io/izzel/arclight/gradle/ArclightGradlePlugin.groovy | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index e5216e1..3917ff3 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'io.izzel.arclight' -version '1.18' +version '1.19' repositories { mavenCentral() diff --git a/src/main/groovy/io/izzel/arclight/gradle/ArclightGradlePlugin.groovy b/src/main/groovy/io/izzel/arclight/gradle/ArclightGradlePlugin.groovy index 48924ce..9c7e18c 100644 --- a/src/main/groovy/io/izzel/arclight/gradle/ArclightGradlePlugin.groovy +++ b/src/main/groovy/io/izzel/arclight/gradle/ArclightGradlePlugin.groovy @@ -77,7 +77,7 @@ class ArclightGradlePlugin implements Plugin { task.outDir = project.file("${project.buildDir}/arclight_cache/tmp_srg") task.inSrg = extractSrg.output.get().asFile task.inJar = new File(buildTools, "spigot-${arclightExt.mcVersion}.jar") - task.inVanillaJar = new File(task.buildData, "work/minecraft_server.${task.mcVersion}.jar") + task.inVanillaJar = new File(buildTools, "work/minecraft_server.${task.mcVersion}.jar") task.packageName = arclightExt.packageName task.dependsOn(extractSrg, createSrgToMcp, buildSpigot) } @@ -97,7 +97,7 @@ class ArclightGradlePlugin implements Plugin { task.outJar = project.file("${project.buildDir}/arclight_cache/spigot-${arclightExt.mcVersion}-mapped.jar") task.outDeobf = project.file("${project.buildDir}/arclight_cache/spigot-${arclightExt.mcVersion}-mapped-deobf.jar") task.inAt = arclightExt.accessTransformer - task.dependsOn(processMapping) + task.dependsOn(processMapping, remapSpigot) if (arclightExt.wipeVersion && !task.bukkitVersion) { task.bukkitVersion = arclightExt.bukkitVersion }