mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
AtRemapper: Work around Gradle 8.1 bug causing Files.readString(path) to call Path.toFile()
Same issue and fix as in 4ff9f726e1,
just a different class.
Fixes #129.
This commit is contained in:
@@ -52,7 +52,7 @@ public final class AtRemapper {
|
||||
Path atPath = fs.getPath(Constants.Forge.ACCESS_TRANSFORMER_PATH);
|
||||
|
||||
if (Files.exists(atPath)) {
|
||||
String atContent = Files.readString(atPath);
|
||||
String atContent = Files.readString(atPath, StandardCharsets.UTF_8);
|
||||
|
||||
String[] lines = atContent.split("\n");
|
||||
List<String> output = new ArrayList<>(lines.length);
|
||||
|
||||
Reference in New Issue
Block a user