-
Notifications
You must be signed in to change notification settings - Fork 134
Break: Add gradle 6.0-20190904072820+0000 compatibility. Compile with -Werror and -Xlint:deprecation #791
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
Break: Add gradle 6.0-20190904072820+0000 compatibility. Compile with -Werror and -Xlint:deprecation #791
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| type: improvement | ||
| improvement: | ||
| description: Compile with `-Werror` and `-Xlint:deprecation` to catch deprecations | ||
|
||
| when they're introduced instead of when they become compilation error. This allows | ||
| us to future proof early before regular users are hit with those issues in their | ||
| projects | ||
| links: | ||
| - https://github.com/palantir/gradle-baseline/pull/791 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,6 +43,6 @@ class BaselineIntegrationTest extends AbstractPluginTest { | |
| with().withArguments('-s').withGradleVersion(gradleVersion).build() | ||
|
|
||
| where: | ||
| gradleVersion << ['4.10.2', '5.0-milestone-1'] | ||
| gradleVersion << ['5.0'] | ||
|
||
| } | ||
| } | ||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should flag this as a break so any folks lagging on gradle < 5.x upgrade
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned in the pr description it's possible to not make it a break so I leave it to the maintainers to decide what they prefer