Skip to content

Commit

Permalink
Fix fabric output jar
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Jul 14, 2019
1 parent 58863c2 commit 98e29f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worldedit-fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ tasks.register<RemapJarTask>("remapShadowJar") {
val shadowJar = tasks.getByName<ShadowJar>("shadowJar")
dependsOn(shadowJar)
setInput(shadowJar.archiveFile)
setOutput(shadowJar.archiveFile.get().asFile.getAbsolutePath().replaceFirst("-dev\\.jar$", ".jar"))
setOutput(shadowJar.archiveFile.get().asFile.absolutePath.replace(Regex("-dev\\.jar$"), ".jar"))
}

tasks.named("assemble").configure {
Expand Down

0 comments on commit 98e29f6

Please sign in to comment.