Skip to content

Commit

Permalink
build: update for current gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
BFergerson committed Sep 30, 2023
1 parent 1ae0736 commit 45b204a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ tasks.getByName<Test>("test") {
useJUnitPlatform()

val isIntegrationProfile = System.getProperty("test.profile") == "integration"
val runningSpecificTests = gradle.startParameter.taskNames.contains("--tests")
val runningSpecificTests = gradle.startParameter.taskRequests.isNotEmpty()

//exclude integration tests unless requested
if (!isIntegrationProfile && !runningSpecificTests) {
Expand Down

0 comments on commit 45b204a

Please sign in to comment.