Fix module order and encryption file location
This commit is contained in:
		| @@ -65,8 +65,7 @@ public class CompileMethods { | |||||||
|             list.add(sound.toString()); |             list.add(sound.toString()); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         File soundsFile = new File("target/classes/ANTI_PIRACY_SECRET_FILE"); |         File soundsFile = new File("plugin/target/classes/ANTI_PIRACY_ENCRYPTION"); | ||||||
|         System.out.println(soundsFile.getAbsolutePath()); |  | ||||||
|  |  | ||||||
|         try (FileOutputStream fos = new FileOutputStream(soundsFile)) { |         try (FileOutputStream fos = new FileOutputStream(soundsFile)) { | ||||||
|             byte[] array = String.join("\n", list).getBytes(StandardCharsets.UTF_8); |             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"); |         File methodsFile = new File("plugin/target/classes/ANTI_PIRACY_ENCRYPTION"); | ||||||
|         System.out.println(methodsFile.getAbsolutePath()); |  | ||||||
|  |  | ||||||
|         try (FileOutputStream fos = new FileOutputStream(methodsFile)) { |         try (FileOutputStream fos = new FileOutputStream(methodsFile)) { | ||||||
|             byte[] array = String.join("\n", methods).getBytes(StandardCharsets.UTF_8); |             byte[] array = String.join("\n", methods).getBytes(StandardCharsets.UTF_8); | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -8,9 +8,9 @@ | |||||||
|     <packaging>pom</packaging> |     <packaging>pom</packaging> | ||||||
|     <version>10.0.26-SNAPSHOT</version> |     <version>10.0.26-SNAPSHOT</version> | ||||||
|     <modules> |     <modules> | ||||||
|  |         <module>shared</module> | ||||||
|         <module>v1_18_R1</module> |         <module>v1_18_R1</module> | ||||||
|         <module>plugin</module> |         <module>plugin</module> | ||||||
|         <module>shared</module> |  | ||||||
|     </modules> |     </modules> | ||||||
|  |  | ||||||
|     <properties> |     <properties> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user