Fix module order and encryption file location

This commit is contained in:
Sage M 2021-12-06 21:53:18 -06:00
parent 0e0be185dc
commit 49cebe2a31
2 changed files with 3 additions and 5 deletions

View File

@ -65,8 +65,7 @@ public class CompileMethods {
list.add(sound.toString());
}
File soundsFile = new File("target/classes/ANTI_PIRACY_SECRET_FILE");
System.out.println(soundsFile.getAbsolutePath());
File soundsFile = new File("plugin/target/classes/ANTI_PIRACY_ENCRYPTION");
try (FileOutputStream fos = new FileOutputStream(soundsFile)) {
byte[] array = String.join("\n", list).getBytes(StandardCharsets.UTF_8);
@ -157,8 +156,7 @@ public class CompileMethods {
}
}
File methodsFile = new File("target/classes/ANTI_PIRACY_ENCRYPTION");
System.out.println(methodsFile.getAbsolutePath());
File methodsFile = new File("plugin/target/classes/ANTI_PIRACY_ENCRYPTION");
try (FileOutputStream fos = new FileOutputStream(methodsFile)) {
byte[] array = String.join("\n", methods).getBytes(StandardCharsets.UTF_8);

View File

@ -8,9 +8,9 @@
<packaging>pom</packaging>
<version>10.0.26-SNAPSHOT</version>
<modules>
<module>shared</module>
<module>v1_18_R1</module>
<module>plugin</module>
<module>shared</module>
</modules>
<properties>