Simplify project.hasProperty('alltests') ternary operator
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
eb84ac4195
commit
0273441e68
@@ -418,7 +418,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')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -477,7 +477,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