Skip to content

Commit 45b204a

Browse files
committed
build: update for current gradle
1 parent 1ae0736 commit 45b204a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ tasks.getByName<Test>("test") {
147147
useJUnitPlatform()
148148

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

152152
//exclude integration tests unless requested
153153
if (!isIntegrationProfile && !runningSpecificTests) {

0 commit comments

Comments
 (0)