Simplify project.hasProperty('alltests') ternary operator

This commit is contained in:
Drummond Dawson
2018-10-01 17:57:18 -04:00
committed by Mahmoud Ben Hassine
parent 0845520070
commit dca16fb5bd

View File

@@ -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')
}
}