Skip to content

Commit

Permalink
Utilize built in PTS enabled flag (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
clayburn committed Apr 8, 2024
2 parents b7bc372 + 3859cc2 commit d9aa091
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ tasks.withType<Test>().configureEach {
maxRetries = if (isCI) 1 else 0
maxFailures = 20
}

develocity.predictiveTestSelection {
enabled = providers.gradleProperty("isPTSEnabled").map { it != "false" }.orElse(true)
}
}

tasks.test {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ org.gradle.configuration-cache=true
org.gradle.jvmargs=-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8
org.gradle.kotlin.dsl.allWarningsAsErrors=true

isPTSEnabled=true
systemProp.pts.enabled=true

0 comments on commit d9aa091

Please sign in to comment.