Skip to content

Commit 184948e

Browse files
committed
Remove deprecated space assignments from build.gradle
1 parent 12e05f6 commit 184948e

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
@@ -8,8 +8,8 @@ plugins {
88
}
99

1010

11-
group pluginGroup
12-
version pluginVersion
11+
group = pluginGroup
12+
version = pluginVersion
1313

1414
apply plugin: 'idea'
1515
apply plugin: 'java'
@@ -59,8 +59,8 @@ task licenseFormatForKotlin(type: LicenseFormat) {
5959
}
6060

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

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

120120
task libs(type: Sync) {
121-
from configurations.runtimeClasspath
122-
into layout.buildDirectory.dir("libs")
121+
from(configurations.runtimeClasspath)
122+
into(layout.buildDirectory.dir("libs"))
123123
preserve {
124-
include 'mapstruct-intellij-*.jar'
125-
include 'MapStruct-Intellij-*.jar'
124+
include('mapstruct-intellij-*.jar')
125+
include('MapStruct-Intellij-*.jar')
126126
}
127-
rename 'mapstruct-1.5.3.Final.jar', 'mapstruct.jar'
127+
rename('mapstruct-1.5.3.Final.jar', 'mapstruct.jar')
128128
}
129129

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

136136
test.dependsOn( libs, testLibs )

0 commit comments

Comments
 (0)