mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-11-28 08:44:07 +00:00
moved rtp to /betterrtp-core to create a better env for maven compiling
This commit is contained in:
1 parent
621f3a6876
commit
6eca1c5c73
199 files changed
+516
-454
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user