Skip to content

avoid-circular-jar-checks#12618

Merged
risdenk merged 1 commit intoapache:mainfrom
risdenk:avoid-circular-jar-checks
Oct 3, 2023
Merged

avoid-circular-jar-checks#12618
risdenk merged 1 commit intoapache:mainfrom
risdenk:avoid-circular-jar-checks

Conversation

@risdenk
Copy link
Contributor

@risdenk risdenk commented Oct 3, 2023

Description

jar-checks.gradle can go into an infinite loop if there are dependencies that could be circular. In Solr, grpc-utils has a compile dependency on grpc-core and grpc-core has a runtime dependency on grpc-utils. In jar-checks this is circular since there is no distinction between runtime and compile dependencies. This change adds a check to make sure we don't visit the same dependency twice.

Related to https://github.com/apache/solr/pull/1769

@risdenk risdenk self-assigned this Oct 3, 2023
Copy link
Contributor

@dweiss dweiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@risdenk risdenk merged commit 75da338 into apache:main Oct 3, 2023
@risdenk risdenk deleted the avoid-circular-jar-checks branch October 3, 2023 20:44
risdenk added a commit that referenced this pull request Oct 3, 2023
s1monw pushed a commit to s1monw/lucene that referenced this pull request Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants