Skip to content

Commit f8d0ee2

Browse files
committed
buildscripts: avoid using (deprecated) space-assignment syntax
1 parent 6807bfb commit f8d0ee2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ configurations.configureEach {
2525

2626
tasks.register('checkstyle') {
2727
dependsOn ':nifty:checkstyleMain', ':tests:checkstyleMain', ':x:checkstyleMain'
28-
description 'Checks the style of all Java sourcecode.'
28+
description = 'Checks the style of all Java sourcecode.'
2929
}
3030

3131
def mergedJavadocSubprojects = [ ":nifty", ":x" ]
3232
tasks.register('mergedJavadoc', Javadoc) {
33-
description 'Creates Javadoc from all the projects.'
33+
description = 'Creates Javadoc from all the projects.'
3434
destinationDir = new File(project.buildDir, 'merged-javadoc')
3535
title = 'All modules'
3636

common.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tasks.withType(JavaExec).configureEach { // Java runtime options:
3030
//args '--verbose' // to enable additional log output
3131
classpath sourceSets.main.runtimeClasspath
3232
dependsOn 'installDist'
33-
enableAssertions true
33+
enableAssertions = true
3434
//jvmArgs '-verbose:gc'
3535
//jvmArgs '-Xms512m', '-Xmx512m' // to enlarge the Java heap
3636
//jvmArgs '-XX:+UseG1GC', '-XX:MaxGCPauseMillis=10'

x/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ dependencies {
2424

2525
tasks.register('install') {
2626
dependsOn 'publishMavenPublicationToMavenLocal'
27-
description 'Installs Maven artifacts to the local repository.'
27+
description = 'Installs Maven artifacts to the local repository.'
2828
}
2929
tasks.register('release') {
3030
dependsOn 'publishMavenPublicationToOSSRHRepository'
31-
description 'Stages Maven artifacts to Sonatype OSSRH.'
31+
description = 'Stages Maven artifacts to Sonatype OSSRH.'
3232
}
3333

3434
jar {

0 commit comments

Comments
 (0)