mirror of https://github.com/grpc/grpc-java.git
all: Only depend on evaluation of enumerated subprojects
Back in10fb206
when this for loop was added, we didn't have the subprojects list. That was added in9bd7bab
, 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 #8049.
This commit is contained in:
parent
84dc5642bc
commit
8a9aa41416
|
@ -24,12 +24,13 @@ def subprojects = [
|
|||
project(':grpc-xds'),
|
||||
]
|
||||
|
||||
for (subproject in rootProject.subprojects) {
|
||||
for (subproject in subprojects) {
|
||||
if (subproject == project) {
|
||||
continue
|
||||
}
|
||||
evaluationDependsOn(subproject.path)
|
||||
}
|
||||
evaluationDependsOn(':grpc-interop-testing')
|
||||
|
||||
dependencies {
|
||||
api subprojects.minus([project(':grpc-protobuf-lite')])
|
||||
|
|
Loading…
Reference in New Issue