Skip to content

Commit

Permalink
Revert "Revert "Handle more gradle deprecation warnings to fail integ…
Browse files Browse the repository at this point in the history
…ration tests""
  • Loading branch information
rpalcolea authored Dec 11, 2018
1 parent 5963600 commit 3872c51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/groovy/nebula/test/BaseIntegrationSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ abstract class BaseIntegrationSpec extends Specification {

protected static void checkForDeprecations(String output) {
def deprecations = output.readLines().findAll {
it.contains("has been deprecated and is scheduled to be removed in Gradle") || it.contains("Deprecated Gradle features were used in this build")
it.contains("has been deprecated and is scheduled to be removed in Gradle") ||
it.contains("Deprecated Gradle features were used in this build") ||
it.contains("has been deprecated. This is scheduled to be removed in Gradle") ||
it.contains("This behaviour has been deprecated and is scheduled to be removed in Gradle")
}
// temporary for known issue with overwriting task
// overridden task expected to not be needed in future version
Expand Down

0 comments on commit 3872c51

Please sign in to comment.