Skip to content

Commit fb0a8d1

Browse files
committed
Properties should be assigned using the 'propName = value' syntax
1 parent af7ddf7 commit fb0a8d1

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

gradle/checkstyle.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (shouldCheckstyle) {
3131
// Keeping this here for local checks/investigation.
3232
setRequired(true)
3333
setOutputLocation(file("${checkstyleReportsDir}/html/${fileName}.html"))
34-
stylesheet resources.text.fromFile("$publicDir/etc/checkstyle/xsl/checkstyle-simple.xsl")
34+
stylesheet = resources.text.fromFile("$publicDir/etc/checkstyle/xsl/checkstyle-simple.xsl")
3535
}
3636
}
3737
}

gradle/defaults-java.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ allprojects {
132132
} else {
133133
events TestLogEvent.FAILED
134134
}
135-
exceptionFormat TestExceptionFormat.FULL
136-
showExceptions true
135+
exceptionFormat = TestExceptionFormat.FULL
136+
showExceptions = true
137137
}
138138

139139
// set options for log level INFO
@@ -142,8 +142,8 @@ allprojects {
142142
TestLogEvent.SKIPPED,
143143
TestLogEvent.STANDARD_ERROR,
144144
TestLogEvent.STANDARD_OUT
145-
exceptionFormat TestExceptionFormat.FULL
146-
showExceptions true
145+
exceptionFormat = TestExceptionFormat.FULL
146+
showExceptions = true
147147
}
148148

149149
// set options for log level DEBUG
@@ -154,10 +154,10 @@ allprojects {
154154
TestLogEvent.SKIPPED,
155155
TestLogEvent.STANDARD_ERROR,
156156
TestLogEvent.STANDARD_OUT
157-
exceptionFormat TestExceptionFormat.FULL
158-
showExceptions true
159-
showCauses true
160-
showStackTraces true
157+
exceptionFormat = TestExceptionFormat.FULL
158+
showExceptions = true
159+
showCauses = true
160+
showStackTraces = true
161161
}
162162

163163
afterSuite { desc, result ->
@@ -195,7 +195,7 @@ allprojects {
195195
afterEvaluate {
196196
if (group.startsWith('com.neo4j.gds')) {
197197
javadoc {
198-
enabled false
198+
enabled = false
199199
}
200200
}
201201
}

gradle/licensing.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ allprojects { proj ->
142142

143143
// Dependency license validation
144144
tasks.register("validateLicenses") {
145-
group 'license'
146-
description 'Checks dependency licenses against an allowlist'
145+
group = 'license'
146+
description = 'Checks dependency licenses against an allowlist'
147147
dependsOn tasks.downloadLicenses
148148
doLast {
149149
def allowListedNames = allowList.collect { it.name }
@@ -157,7 +157,7 @@ allprojects { proj ->
157157

158158
// Compound dependency licenses files
159159
tasks.register("generateLicensesFiles") {
160-
description 'Generates dependency license report files'
160+
description = 'Generates dependency license report files'
161161
dependsOn tasks.downloadLicenses, tasks.validateLicenses
162162
ext.licensesFile = file("$tasks.downloadLicenses.jsonDestination/LICENSES.txt")
163163
ext.noticeFile = file("$tasks.downloadLicenses.jsonDestination/NOTICE.txt")

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pluginManagement {
33
gradlePluginPortal()
44
maven {
55
name = 'GDS local-hosted plugins'
6-
url 'dependencies/plugins/repository'
6+
url = 'dependencies/plugins/repository'
77
}
88
}
99
}

0 commit comments

Comments
 (0)