Skip to content

Commit 7901531

Browse files
committed
move extra editor classes to its own module
1 parent 0429d98 commit 7901531

File tree

6 files changed

+40
-3
lines changed

6 files changed

+40
-3
lines changed

editor-extra/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>io.github.projectunified</groupId>
8+
<artifactId>minigamecore</artifactId>
9+
<version>4.1.0-SNAPSHOT</version>
10+
</parent>
11+
12+
<artifactId>minigamecore-editor-extra</artifactId>
13+
<name>MinigameCore Editor Extra</name>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>io.github.projectunified</groupId>
18+
<artifactId>minigamecore-editor</artifactId>
19+
<version>${project.version}</version>
20+
</dependency>
21+
</dependencies>
22+
</project>

editor/src/main/java/io/github/projectunified/minigamecore/editor/ListEditor.java renamed to editor-extra/src/main/java/io/github/projectunified/minigamecore/editor/extra/editor/ListEditor.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
package io.github.projectunified.minigamecore.editor;
1+
package io.github.projectunified.minigamecore.editor.extra.editor;
2+
3+
import io.github.projectunified.minigamecore.editor.Editor;
4+
import io.github.projectunified.minigamecore.editor.EditorAction;
5+
import io.github.projectunified.minigamecore.editor.EditorActor;
26

37
import java.util.*;
48
import java.util.stream.Collectors;

editor/src/main/java/io/github/projectunified/minigamecore/editor/ValueEditor.java renamed to editor-extra/src/main/java/io/github/projectunified/minigamecore/editor/extra/editor/ValueEditor.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
package io.github.projectunified.minigamecore.editor;
1+
package io.github.projectunified.minigamecore.editor.extra.editor;
2+
3+
import io.github.projectunified.minigamecore.editor.Editor;
4+
import io.github.projectunified.minigamecore.editor.EditorAction;
5+
import io.github.projectunified.minigamecore.editor.EditorActor;
26

37
import java.util.*;
48

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Extra classes expanding the functionality of the {@link io.github.projectunified.minigamecore.editor}
3+
*/
4+
package io.github.projectunified.minigamecore.editor.extra;

editor/src/main/java/io/github/projectunified/minigamecore/editor/EditorStatusDisplay.java renamed to editor-extra/src/main/java/io/github/projectunified/minigamecore/editor/extra/status/EditorStatusDisplay.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
package io.github.projectunified.minigamecore.editor;
1+
package io.github.projectunified.minigamecore.editor.extra.status;
2+
3+
import io.github.projectunified.minigamecore.editor.Editor;
24

35
import java.lang.reflect.Array;
46
import java.util.*;

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<module>bukkit-minelib</module>
5151
<module>standalone</module>
5252
<module>editor</module>
53+
<module>editor-extra</module>
5354
</modules>
5455

5556
<properties>

0 commit comments

Comments
 (0)