Skip to content

Commit

Permalink
Remove condition so that strict checking stays the default.
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Feb 19, 2023
1 parent 18453b8 commit 512af53
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -954,10 +954,6 @@ class NexusPublishPluginTests {

private fun gradleRunner(vararg arguments: String): GradleRunner {
val warnings = when {
// There's a deprecation in Gradle 7.6 that doesn't allow for passing builds.
// See https://github.com/gradle-nexus/publish-plugin/issues/152 for more details.
// This conditional branch of when should be removed once that issue is fixed.
gradleVersion >= GradleVersion.version("7.6") -> "all"
// Failing only became an option at Gradle 5.6.
gradleVersion >= GradleVersion.version("5.6") -> "fail"
else -> "all"
Expand Down

0 comments on commit 512af53

Please sign in to comment.