Simplify project.hasProperty('alltests') ternary operator
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
0845520070
commit
dca16fb5bd
@@ -434,7 +434,7 @@ project('spring-batch-core-tests') {
|
||||
optional "org.springframework.ldap:spring-ldap-ldif-core:$springLdapVersion"
|
||||
}
|
||||
test {
|
||||
enabled = project.hasProperty('alltests') ? true : false
|
||||
enabled = project.hasProperty('alltests')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -494,7 +494,7 @@ project('spring-batch-infrastructure-tests') {
|
||||
runtime "org.postgresql:postgresql:$postgresqlVersion"
|
||||
}
|
||||
test {
|
||||
enabled = project.hasProperty('alltests') ? true : false
|
||||
enabled = project.hasProperty('alltests')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user