Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IzzelAliz committed May 29, 2020
1 parent 4b00923 commit eda9091
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ class ArclightGradlePlugin implements Plugin<Project> {
}
if (arclightExt.reobfVersion) {
File map = project.file("${project.buildDir}/arclight_cache/tmp_srg/reobf_version_${arclightExt.bukkitVersion}.srg")
if (!map.exists()) map.createNewFile()
if (!map.exists()) {
map.parentFile.mkdirs()
map.createNewFile()
}
map.text = "PK: org/bukkit/craftbukkit/v org/bukkit/craftbukkit/${arclightExt.bukkitVersion}"
project.tasks.withType(RenameJarInPlace).each { task ->
task.doFirst {
Expand Down

0 comments on commit eda9091

Please sign in to comment.