Remove the commonInterface sub-project
This commit is contained in:
+4
-16
@@ -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
|
||||
|
||||
+1
-1
Submodule coreSubProjects updated: ba701eb014...d21e334e15
@@ -18,7 +18,5 @@ include("core")
|
||||
project(":core").projectDir = file('coreSubProjects/core')
|
||||
include("api")
|
||||
project(":api").projectDir = file('coreSubProjects/api')
|
||||
include("commonInterface")
|
||||
project(":commonInterface").projectDir = file('coreSubProjects/commonInterface')
|
||||
|
||||
rootProject.name = "DistantHorizons"
|
||||
|
||||
Reference in New Issue
Block a user