mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 22:31:52 +00:00
automatically depend on API in addons
This commit is contained in:
@@ -36,7 +36,7 @@ fun Project.configureDependencies() {
|
|||||||
"testImplementation"("com.google.guava:guava:30.0-jre")
|
"testImplementation"("com.google.guava:guava:30.0-jre")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (project(":common:addons").subprojects.contains(this)) {
|
if (project(":common:addons").subprojects.contains(this)) { // If this is an addon project, depend on the API.
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
"compileOnly"(project(":common:api"))
|
||||||
"testImplementation"(project(":common:api"))
|
"testImplementation"(project(":common:api"))
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,11 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"shadedApi"("com.googlecode.json-simple:json-simple:1.1.1")
|
"shadedApi"("com.googlecode.json-simple:json-simple:1.1.1")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
@@ -13,10 +13,6 @@ configureDependencies()
|
|||||||
group = "com.dfsek.terra.common"
|
group = "com.dfsek.terra.common"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"compileOnly"(project(":common:api"))
|
|
||||||
"testImplementation"(project(":common:api"))
|
|
||||||
|
|
||||||
|
|
||||||
"shadedApi"("commons-io:commons-io:2.6")
|
"shadedApi"("commons-io:commons-io:2.6")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user