automatically depend on API in addons

This commit is contained in:
dfsek committed 2021-07-23 10:59:24 -07:00
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"))