Skip to content

Commit b096e68

Browse files
Gradle pimping
1 parent 19f80f9 commit b096e68

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ subprojects {
2727
}
2828
}
2929

30-
def packageFormatByOS = [windows: "msi", mac: "dmg", linux: "deb"]
31-
ext.osPkg = packageFormatByOS[osdetector.os]
30+
ext.osPkg = [windows: "msi", mac: "dmg", linux: "deb"][osdetector.os]
3231

3332
logger.lifecycle("osdetector.os = ${osdetector.os}")
3433
logger.lifecycle("osdetector.arch = ${osdetector.arch}")

0 commit comments

Comments
 (0)