Skip to content

Commit 28bc774

Browse files
committed
use the assemble task to build everything, not buildEverything
1 parent 5b375b3 commit 28bc774

File tree

2 files changed

+5
-24
lines changed

2 files changed

+5
-24
lines changed

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ jar {
5454
}
5555

5656
shadowJar {
57-
classifier = null // remove '-all' suffix
57+
archiveClassifier.set(null) // remove '-all' suffix
5858
from "LICENSE"
59+
assemble.mustRunAfter shadowJar
5960
}
6061

6162
macAppBundle {
@@ -94,25 +95,5 @@ task createWindowsInstaller(type: Exec, dependsOn: 'createExe') {
9495
commandLine 'wine', 'C:\\Program Files (x86)\\Inno Setup 5\\ISCC.exe', '/Qp', 'blobsaver.iss'
9596
}
9697
}
97-
}
98-
99-
task buildEverything() {
100-
doLast {
101-
println "creating fat/uber jar with shadowJar:"
102-
shadowJar.execute()
103-
println "creating mac app bundle:"
104-
if (System.getProperty("os.name").toUpperCase().contains("MAC")) {
105-
println " creating full .dmg"
106-
createDmg.execute()
107-
} else {
108-
println " creating .zip with .app inside"
109-
createAppZip.execute()
110-
}
111-
println "creating windows installer with inno setup:"
112-
println " **IMPORTANT:** (for creating windows installer)"
113-
println " first make sure you have installed Inno Setup first"
114-
println " and make sure you have wine in your path if you are not on windows"
115-
println " Inno Setup **MUST** be installed to C:\\Program Files (x86)\\Inno Setup 5\\"
116-
createWindowsInstaller.execute()
117-
}
118-
}
98+
assemble.dependsOn createWindowsInstaller
99+
}

0 commit comments

Comments
 (0)