From 6d07184b183e48f6fd41c2daab41fe2085b0f7cb Mon Sep 17 00:00:00 2001 From: WayofTime Date: Sat, 14 Nov 2020 16:20:55 -0500 Subject: [PATCH] Created API framework Very very initial framework to the API, mainly through moving the relevant files to a separate source folder. --- .../main/java/wayoftime/bloodmagic/api/IBloodMagicAPI.java | 0 .../wayoftime/bloodmagic/api/IBloodMagicRecipeRegistrar.java | 0 .../java/wayoftime/bloodmagic/api/IBloodMagicValueManager.java | 0 .../main/java/wayoftime/bloodmagic/api/SerializerHelper.java | 0 build.gradle | 1 + 5 files changed, 1 insertion(+) rename {src => api}/main/java/wayoftime/bloodmagic/api/IBloodMagicAPI.java (100%) rename {src => api}/main/java/wayoftime/bloodmagic/api/IBloodMagicRecipeRegistrar.java (100%) rename {src => api}/main/java/wayoftime/bloodmagic/api/IBloodMagicValueManager.java (100%) rename {src => api}/main/java/wayoftime/bloodmagic/api/SerializerHelper.java (100%) diff --git a/src/main/java/wayoftime/bloodmagic/api/IBloodMagicAPI.java b/api/main/java/wayoftime/bloodmagic/api/IBloodMagicAPI.java similarity index 100% rename from src/main/java/wayoftime/bloodmagic/api/IBloodMagicAPI.java rename to api/main/java/wayoftime/bloodmagic/api/IBloodMagicAPI.java diff --git a/src/main/java/wayoftime/bloodmagic/api/IBloodMagicRecipeRegistrar.java b/api/main/java/wayoftime/bloodmagic/api/IBloodMagicRecipeRegistrar.java similarity index 100% rename from src/main/java/wayoftime/bloodmagic/api/IBloodMagicRecipeRegistrar.java rename to api/main/java/wayoftime/bloodmagic/api/IBloodMagicRecipeRegistrar.java diff --git a/src/main/java/wayoftime/bloodmagic/api/IBloodMagicValueManager.java b/api/main/java/wayoftime/bloodmagic/api/IBloodMagicValueManager.java similarity index 100% rename from src/main/java/wayoftime/bloodmagic/api/IBloodMagicValueManager.java rename to api/main/java/wayoftime/bloodmagic/api/IBloodMagicValueManager.java diff --git a/src/main/java/wayoftime/bloodmagic/api/SerializerHelper.java b/api/main/java/wayoftime/bloodmagic/api/SerializerHelper.java similarity index 100% rename from src/main/java/wayoftime/bloodmagic/api/SerializerHelper.java rename to api/main/java/wayoftime/bloodmagic/api/SerializerHelper.java diff --git a/build.gradle b/build.gradle index 99fc2dc7..cbf6ca32 100644 --- a/build.gradle +++ b/build.gradle @@ -161,6 +161,7 @@ jar.finalizedBy('reobfJar') sourceSets.main.resources { srcDir 'src/generated/resources' + srcDir 'api/main/java' } publishing {