Remove the commonInterface sub-project

This commit is contained in:
James Seibel
2022-09-10 20:04:13 -05:00
parent 9333c006b7
commit 131e257739
3 changed files with 5 additions and 19 deletions
+4 -16
View File
@@ -132,7 +132,6 @@ forgix {
}
removeDuplicate "com.seibel.lod.core"
removeDuplicate "com.seibel.lod.api"
}
architectury {
@@ -142,7 +141,7 @@ architectury {
subprojects { p ->
// setup Architectury
if (p == project(":core") || p == project(":api") || p == project(":commonInterface"))
if (p == project(":core") || p == project(":api"))
{
apply plugin: "application"
apply plugin: "org.spongepowered.gradle.vanilla" // Provides minecraft libraries
@@ -167,7 +166,7 @@ subprojects { p ->
}
// Set up the minecraft non-dependency for core sub-projects
if (p == project(":core") || p == project(":api") || p == project(":commonInterface"))
if (p == project(":core") || p == project(":api"))
{
minecraft {
version("${rootProject.minecraft_version}")
@@ -220,9 +219,9 @@ subprojects { p ->
//==========================//
// Minecraft dependent sub-projects
if (p == project(":common") || p == project(":forge") || p == project(":fabric") || p == project(":commonInterface") || p == project(":api"))
if (p == project(":common") || p == project(":forge") || p == project(":fabric") || p == project(":api"))
{
if (p != project(":commonInterface") && p != project(":api"))
if (p != project(":api"))
{
// Add Minecraft
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
@@ -247,17 +246,6 @@ subprojects { p ->
}
}
if (p == project(":fabric") || p == project(":forge") || p == project(":common")) {
customModule(project(":commonInterface")) {
// Remove Junit test libraries
exclude group: "org.junit.jupiter", module: "junit-jupiter"
exclude group: "org.junit.jupiter", module: "junit-jupiter-engine"
exclude group: "junit", module: "junit"
}
}
}
// Allows the jar to run standalone