Fix: remove deprecated <<
*/
// Windows Installer ///////////////////////////////////////////////////////////
-task exe(dependsOn: [dependsOn: [jar, build]]) << {
+task exe(dependsOn: [dependsOn: [jar, build]]) {
+ doLast{
def innoSetupDir = new File("${buildDir}/innosetup")
delete innoSetupDir
@@ -41,8 +42,7 @@ task exe(dependsOn: [dependsOn: [jar, build]]) << {
copy {
from("${rootProject.projectDir}/gradle/innosetup/innosetup.iss")
- expand([
- applicationVersion: "${applicationVersion}",
+ expand([applicationVersion : "${applicationVersion}",
applicationVersionFull: "${applicationVersionFull}",
])
into(innoSetupDir)
@@ -54,7 +54,7 @@ task exe(dependsOn: [dependsOn: [jar, build]]) << {
}
-
+ }
}
