fix migration for 1.17. (also proguard broke with j16...)

This commit is contained in:
wagyourtail
2021-06-23 13:29:34 -06:00
parent e6d8b268c7
commit 41abda37c1
77 changed files with 432 additions and 429 deletions

View File

@@ -99,7 +99,7 @@ class BaritoneGradleTask extends DefaultTask {
}
protected Path getRelativeFile(String file) {
return Paths.get(new File(getProject().getBuildDir(), file).getAbsolutePath());
return Paths.get(new File(new File(getProject().getBuildDir(), "../"), file).getAbsolutePath());
}
protected Path getTemporaryFile(String file) {
@@ -107,6 +107,6 @@ class BaritoneGradleTask extends DefaultTask {
}
protected Path getBuildFile(String file) {
return getRelativeFile("libs/" + file);
return getRelativeFile("build/libs/" + file);
}
}