Skip to content

Commit 8a9aa41

Browse files
committed
all: Only depend on evaluation of enumerated subprojects
Back in 10fb206 when this for loop was added, we didn't have the subprojects list. That was added in 9bd7bab, but I failed to update one reference to rootProject. So all has had an evaluation dependency on all projects, even though it only needs a subset. This should have little impact, but would prevent weird scenarios like an issue in :grpc-gae-interop-testing-jdk8 preventing :all-all from being loaded. Not to say things wouldn't still fail to load, but that this bug could distract from the real problem. I noticed this during grpc#8049.
1 parent 84dc564 commit 8a9aa41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

all/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ def subprojects = [
2424
project(':grpc-xds'),
2525
]
2626

27-
for (subproject in rootProject.subprojects) {
27+
for (subproject in subprojects) {
2828
if (subproject == project) {
2929
continue
3030
}
3131
evaluationDependsOn(subproject.path)
3232
}
33+
evaluationDependsOn(':grpc-interop-testing')
3334

3435
dependencies {
3536
api subprojects.minus([project(':grpc-protobuf-lite')])

0 commit comments

Comments
 (0)