mirror of
https://github.com/google/nomulus.git
synced 2025-06-19 19:00:46 +02:00
Use positive booleans to improve readability (#190)
This allows us to use lgtm.com to scan for vulnerabilities.
This commit is contained in:
parent
35f4dfec1f
commit
161dfa6a0c
4 changed files with 6 additions and 6 deletions
|
@ -13,7 +13,7 @@
|
|||
// limitations under the License.
|
||||
|
||||
buildscript {
|
||||
if (project.disableDependencyLocking.toBoolean() == false) {
|
||||
if (rootProject.enableDependencyLocking.toBoolean()) {
|
||||
// Lock buildscript dependencies.
|
||||
configurations.classpath {
|
||||
resolutionStrategy.activateDependencyLocking()
|
||||
|
@ -169,7 +169,7 @@ subprojects {
|
|||
}
|
||||
}
|
||||
|
||||
if (rootProject.disableDependencyLocking.toBoolean() == false) {
|
||||
if (rootProject.enableDependencyLocking.toBoolean()) {
|
||||
buildscript {
|
||||
// Lock buildscript dependencies.
|
||||
configurations.classpath {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
// limitations under the License.
|
||||
|
||||
buildscript {
|
||||
if (rootProject.disableDependencyLocking.toBoolean() == false) {
|
||||
if (project.enableDependencyLocking.toBoolean()) {
|
||||
// Lock buildscript dependencies.
|
||||
configurations.classpath {
|
||||
resolutionStrategy.activateDependencyLocking()
|
||||
|
@ -32,7 +32,7 @@ plugins {
|
|||
id 'com.diffplug.gradle.spotless' version '3.18.0'
|
||||
}
|
||||
|
||||
if (rootProject.disableDependencyLocking.toBoolean() == false) {
|
||||
if (rootProject.enableDependencyLocking.toBoolean()) {
|
||||
// Lock application dependencies.
|
||||
dependencyLocking {
|
||||
lockAllConfigurations()
|
||||
|
|
|
@ -1 +1 @@
|
|||
disableDependencyLocking=false
|
||||
enableDependencyLocking=false
|
||||
|
|
|
@ -4,4 +4,4 @@ uploaderDestination=
|
|||
uploaderCredentialsFile=
|
||||
uploaderMultithreadedUpload=
|
||||
flowDocsFile=
|
||||
disableDependencyLocking=false
|
||||
enableDependencyLocking=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue