Skip to content

KAFKA-3286: Add plugin to quickly check for outdated dependencies#973

Closed
granthenke wants to merge 3 commits intoapache:trunkfrom
granthenke:outdated-deps
Closed

KAFKA-3286: Add plugin to quickly check for outdated dependencies#973
granthenke wants to merge 3 commits intoapache:trunkfrom
granthenke:outdated-deps

Conversation

@granthenke
Copy link
Copy Markdown
Member

Adds a gradle task to generate a report of outdate release dependencies:
gradle dependencyUpdates

Updates a few minor versions.

Adds a gradle task to generate a report of outdate release dependencies:
`gradle dependencyUpdates`

Updates a few minor versions.
@granthenke
Copy link
Copy Markdown
Member Author

@ijuma This is the patch based on our discussion in #903

Comment thread build.gradle
resolutionStrategy = {
componentSelection { rules ->
rules.all { ComponentSelection selection ->
boolean rejected = ['snap', 'alpha', 'beta', 'rc', 'cr', 'm'].any { qualifier ->
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What does m stand for here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This section is rejecting any dependencies that contain these strings to prevent "non-release" artifacts from getting into the report. The 'm' is to filter out release candidates for Scala. I think it stands for "Milestone":
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.scala-lang%22%20AND%20a%3A%22scala-library%22

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Feb 25, 2016

LGTM

@gwenshap
Copy link
Copy Markdown
Contributor

Can you add "gradle dependencyUpdates" to the readme?

@granthenke
Copy link
Copy Markdown
Member Author

@gwenshap Added any entry in the readme.

@granthenke
Copy link
Copy Markdown
Member Author

@gwenshap just a reminder on this.

@gwenshap
Copy link
Copy Markdown
Contributor

gwenshap commented Mar 3, 2016

LGTM. and sorry for dropping this :)

@asfgit asfgit closed this in f25fe02 Mar 3, 2016
efeg pushed a commit to efeg/kafka that referenced this pull request Jan 29, 2020
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