Skip to content

Commit 0273441

Browse files
drumoniifmbenhassine
authored andcommitted
Simplify project.hasProperty('alltests') ternary operator
1 parent eb84ac4 commit 0273441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ project('spring-batch-core-tests') {
418418
optional "org.springframework.ldap:spring-ldap-ldif-core:$springLdapVersion"
419419
}
420420
test {
421-
enabled = project.hasProperty('alltests') ? true : false
421+
enabled = project.hasProperty('alltests')
422422
}
423423
}
424424

@@ -477,7 +477,7 @@ project('spring-batch-infrastructure-tests') {
477477
runtime "org.postgresql:postgresql:$postgresqlVersion"
478478
}
479479
test {
480-
enabled = project.hasProperty('alltests') ? true : false
480+
enabled = project.hasProperty('alltests')
481481
}
482482
}
483483

0 commit comments

Comments
 (0)