Skip to content

Commit dafd7b3

Browse files
committed
Remove deprecated space assignments from build.gradle
1 parent 4d510eb commit dafd7b3

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

build.gradle

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ plugins {
99
}
1010

1111

12-
group pluginGroup
13-
version pluginVersion
12+
group = pluginGroup
13+
version = pluginVersion
1414

1515
apply plugin: 'idea'
1616
apply plugin: 'java'
@@ -60,8 +60,8 @@ task licenseFormatForKotlin(type: LicenseFormat) {
6060
}
6161

6262
license {
63-
header rootProject.file('etc/license.txt')
64-
strictCheck true
63+
header = rootProject.file('etc/license.txt')
64+
strictCheck = true
6565
mapping {
6666
java = 'SLASHSTAR_STYLE' // IntelliJ reports the JAVADOC_STYLE as a dangling comment
6767
}
@@ -76,8 +76,8 @@ licenseFormat.dependsOn licenseFormatForKotlin
7676
licenseTest.dependsOn licenseTestData
7777

7878
checkstyle {
79-
toolVersion '8.36.1'
80-
config resources.text.fromUri("https://raw.githubusercontent.com/mapstruct/mapstruct/master/build-config/src/main/resources/build-config/checkstyle.xml")
79+
toolVersion = '8.36.1'
80+
config = resources.text.fromUri("https://raw.githubusercontent.com/mapstruct/mapstruct/master/build-config/src/main/resources/build-config/checkstyle.xml")
8181
configProperties = [
8282
'checkstyle.cache.file': rootProject.layout.buildDirectory.get().asFile.toPath( ).resolve( 'checkstyle-cachefile').toString(),
8383
'basedir': 'https://raw.githubusercontent.com/mapstruct/mapstruct/master/build-config',
@@ -119,19 +119,19 @@ dependencies {
119119
}
120120

121121
task libs(type: Sync) {
122-
from configurations.runtimeClasspath
123-
into layout.buildDirectory.dir("libs")
122+
from(configurations.runtimeClasspath)
123+
into(layout.buildDirectory.dir("libs"))
124124
preserve {
125-
include 'mapstruct-intellij-*.jar'
126-
include 'MapStruct-Intellij-*.jar'
125+
include('mapstruct-intellij-*.jar')
126+
include('MapStruct-Intellij-*.jar')
127127
}
128-
rename 'mapstruct-1.5.3.Final.jar', 'mapstruct.jar'
128+
rename('mapstruct-1.5.3.Final.jar', 'mapstruct.jar')
129129
}
130130

131131
task testLibs(type: Sync) {
132-
from configurations.testRuntimeClasspath
133-
into "$buildDir/test-libs"
134-
rename 'value-2.10.1.jar', 'immutables.jar'
132+
from(configurations.testRuntimeClasspath)
133+
into("$buildDir/test-libs")
134+
rename('value-2.10.1.jar', 'immutables.jar')
135135
}
136136

137137
test.dependsOn( libs, testLibs )

0 commit comments

Comments
 (0)