Skip to content

Commit

Permalink
[FIX] gradle configuration cache compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Jun 5, 2023
1 parent a55b1c3 commit d209877
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ kotlin {

val buildParameters = the<buildparameters.BuildParametersExtension>()

tasks.matching { it.name.endsWith("test", ignoreCase = true) }.configureEach { onlyIf { !buildParameters.skip.test } }
tasks.matching { it.name.startsWith("link", ignoreCase = true) }.configureEach { onlyIf { !buildParameters.skip.link } }
if (buildParameters.skip.test) tasks.matching { it.name.endsWith("test", ignoreCase = true) }.configureEach { onlyIf { false } }
if (buildParameters.skip.link) tasks.matching { it.name.startsWith("link", ignoreCase = true) }.configureEach { onlyIf { false } }

0 comments on commit d209877

Please sign in to comment.