Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint rule to detect multi project circular dependencies #193

Merged
merged 1 commit into from
Sep 14, 2018

Conversation

rpalcolea
Copy link
Member

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 85.466% when pulling 0e750af on detect-circular-dependencies into eab04f3 on master.

Copy link
Member

@OdysseusLives OdysseusLives left a comment

Choose a reason for hiding this comment

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

Looks good!

result.standardOutput.contains("Multi-project circular dependencies are not allowed. Circular dependency found between projects 'foo' and 'baz'")
}

def 'detects circular dependencies in multi project - no parenthesis results in gradle failure but not lint'() {
Copy link
Member

Choose a reason for hiding this comment

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

Is this something we can catch, as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess we could, let me add a that to the rule -> invalid project declaration

@rpalcolea rpalcolea merged commit 1942a5b into master Sep 14, 2018
@rpalcolea rpalcolea deleted the detect-circular-dependencies branch September 14, 2018 19:48
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.

None yet

3 participants