moved rtp to /betterrtp-core to create a better env for maven compiling

This commit is contained in:
Ronan committed 2026-11-10 20:13:09 +01:00
1 parent 621f3a6876
commit 6eca1c5c73
199 files changed
+516 -454

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
<dependency><groupId>junit</groupId><artifactId>junit</artifactId><version>4.13.2</version><scope>test</scope></dependency>
</dependencies>
<build>
<sourceDirectory>../../src/main/java</sourceDirectory>
<sourceDirectory>../../BetterRTP-Core/src/main/java</sourceDirectory>
<plugins>
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>3.14.0</version><configuration><includes><include>**/web/editor/*.java</include></includes></configuration></plugin>
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><version>3.5.3</version></plugin>
@@ -56,7 +56,7 @@ public class EditorConfigTest {
rejected(original + "Object:\n ==: org.bukkit.inventory.ItemStack\n");
}
@Test public void validatesBundledConfig() throws Exception {
String bundled = new String(Files.readAllBytes(Paths.get("../../src/main/resources/config.yml")), StandardCharsets.UTF_8);
String bundled = new String(Files.readAllBytes(Paths.get("../../BetterRTP-Core/src/main/resources/config.yml")), StandardCharsets.UTF_8);
EditorConfig.validate(bundled, bundled.replace("MaxRadius: 1000\n", "MaxRadius: 2000\n"));
}
@Test public void allowsStaleWritesAndKeepsNewFileAfterReloadFailure() throws Exception {