@@ -9,8 +9,8 @@ plugins {
99}
1010
1111
12- group pluginGroup
13- version pluginVersion
12+ group = pluginGroup
13+ version = pluginVersion
1414
1515apply plugin : ' idea'
1616apply plugin : ' java'
@@ -60,8 +60,8 @@ task licenseFormatForKotlin(type: LicenseFormat) {
6060}
6161
6262license {
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
7676licenseTest. dependsOn licenseTestData
7777
7878checkstyle {
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
121121task 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
131131task 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
137137test. dependsOn( libs, testLibs )
0 commit comments