diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..083047e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "CommonCore"] + path = CommonCore + url = gitea@steamwar.de:SteamWar/CommonCore.git diff --git a/CommonCore b/CommonCore new file mode 160000 index 0000000..e83103d --- /dev/null +++ b/CommonCore @@ -0,0 +1 @@ +Subproject commit e83103d8afce8161a12d008d6ad99ba439243b27 diff --git a/SpigotCore_Main/src/de/steamwar/core/Core.java b/SpigotCore_Main/src/de/steamwar/core/Core.java index cc4270d..1ef9272 100644 --- a/SpigotCore_Main/src/de/steamwar/core/Core.java +++ b/SpigotCore_Main/src/de/steamwar/core/Core.java @@ -39,7 +39,6 @@ import java.util.logging.Level; public class Core extends JavaPlugin{ - public static final Message MESSAGE = new Message("SpigotCore", Core.class.getClassLoader()); private static final int VERSION; diff --git a/build.gradle b/build.gradle index 52eae83..5610cf2 100644 --- a/build.gradle +++ b/build.gradle @@ -94,6 +94,8 @@ dependencies { implementation project(":SpigotCore_14") implementation project(":SpigotCore_15") implementation project(":SpigotCore_18") + + implementation project(":CommonCore") } task buildProject { diff --git a/settings.gradle b/settings.gradle index 0bd9de2..ffc0d4b 100644 --- a/settings.gradle +++ b/settings.gradle @@ -27,3 +27,5 @@ include 'SpigotCore_12' include 'SpigotCore_10' include 'SpigotCore_9' include 'SpigotCore_8' + +include 'CommonCore'