mirror of https://github.com/cabaletta/baritone
gaming
This commit is contained in:
parent
fef7ba4701
commit
94027d17f2
|
@ -66,7 +66,7 @@ class BaritoneGradleTask extends DefaultTask {
|
||||||
this.proguardOut = this.getTemporaryFile(PROGUARD_EXPORT_PATH);
|
this.proguardOut = this.getTemporaryFile(PROGUARD_EXPORT_PATH);
|
||||||
|
|
||||||
if (!Files.exists(this.artifactPath)) {
|
if (!Files.exists(this.artifactPath)) {
|
||||||
throw new IllegalStateException("Artifact not found! Run build first!");
|
throw new IllegalStateException("Artifact not found! Run build first! " + this.artifactPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ class BaritoneGradleTask extends DefaultTask {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Path getRelativeFile(String file) {
|
protected Path getRelativeFile(String file) {
|
||||||
return Paths.get(new File(file).getAbsolutePath());
|
return Paths.get(this.getProject().file(file).getAbsolutePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Path getTemporaryFile(String file) {
|
protected Path getTemporaryFile(String file) {
|
||||||
|
|
Loading…
Reference in New Issue