fix afterEvaluate issue

This commit is contained in:
dfsek
2021-07-23 10:58:02 -07:00
parent 789d5d1e23
commit bcc6e314eb

View File

@@ -36,12 +36,10 @@ fun Project.configureDependencies() {
"testImplementation"("com.google.guava:guava:30.0-jre") "testImplementation"("com.google.guava:guava:30.0-jre")
} }
project(":common:addons").subprojects.forEach { if (project(":common:addons").subprojects.contains(this)) {
it.afterEvaluate { dependencies {
dependencies { "compileOnly"(project(":common:api"))
"compileOnly"(project(":common:api")) "testImplementation"(project(":common:api"))
"testImplementation"(project(":common:api"))
}
} }
} }
} }