@@ -8,8 +8,8 @@ plugins {
88}
99
1010
11- group pluginGroup
12- version pluginVersion
11+ group = pluginGroup
12+ version = pluginVersion
1313
1414apply plugin : ' idea'
1515apply plugin : ' java'
@@ -59,8 +59,8 @@ task licenseFormatForKotlin(type: LicenseFormat) {
5959}
6060
6161license {
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
7575licenseTest. dependsOn licenseTestData
7676
7777checkstyle {
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
120120task 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
130130task 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
136136test. dependsOn( libs, testLibs )
0 commit comments