mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 21:40:08 +00:00
automatically depend on API in addons
This commit is contained in:
1 parent
bcc6e314eb
commit
a15e45875e
21 files changed
+1
-46
No files matched your search
@@ -36,7 +36,7 @@ fun Project.configureDependencies() {
|
||||
"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 {
|
||||
"compileOnly"(project(":common:api"))
|
||||
"testImplementation"(project(":common:api"))
|
||||
|
||||
Reference in new issue
Block a user