Skip to content

Commit

Permalink
Merge pull request #102 from nebula-plugins/revert-101-revert-100-enh…
Browse files Browse the repository at this point in the history
…ance-deprecation-detection

Revert "Revert "Handle more gradle deprecation warnings to fail integration tests""
  • Loading branch information
rpalcolea authored Dec 11, 2018
2 parents 5963600 + 3872c51 commit 7ddc323
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 7ddc323

Please sign in to comment.