mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 16:35:50 +00:00
base API project
This commit is contained in:
parent
c35d1acbbf
commit
a7d0e7f49b
@ -41,8 +41,8 @@ fun Project.configureDependencies() {
|
||||
|
||||
if (project(":common:addons").subprojects.contains(this)) { // If this is an addon project, depend on the API.
|
||||
dependencies {
|
||||
"compileOnly"(project(":common:api:core"))
|
||||
"testImplementation"(project(":common:api:core"))
|
||||
"compileOnly"(project(":common:api"))
|
||||
"testImplementation"(project(":common:api"))
|
||||
}
|
||||
}
|
||||
}
|
10
common/api/build.gradle.kts
Normal file
10
common/api/build.gradle.kts
Normal file
@ -0,0 +1,10 @@
|
||||
afterEvaluate {
|
||||
subprojects.forEach {
|
||||
if(it != project) {
|
||||
println("Project: ${it.name}")
|
||||
dependencies {
|
||||
"shadedApi"(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
dependencies {
|
||||
"shadedApi"(project(":common:api:core"))
|
||||
"shadedApi"(project(":common:api"))
|
||||
"shadedApi"(project(":common:loader:config"))
|
||||
"shadedApi"(project(":common:loader:addon"))
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
dependencies {
|
||||
"shadedApi"(project(":common:api:core"))
|
||||
"shadedApi"(project(":common:api"))
|
||||
}
|
||||
|
@ -1,3 +0,0 @@
|
||||
dependencies {
|
||||
"shadedApi"(project(":common:api:core"))
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user