fix(build): fix hiding console in Windows (#2196)

Regression after migration to shadow jar in #1868,
instead CreateStartScripts task from 'application' plugin
'startShadowScripts' task should be modified.
This commit is contained in:
Skylot 2024-07-17 21:24:36 +01:00
parent ad4dd116be
commit ec0bf701c8
No known key found for this signature in database
GPG Key ID: 47A4975761262B6A

View File

@ -92,7 +92,7 @@ tasks.shadowJar {
}
}
tasks.existing(CreateStartScripts::class) {
tasks.startShadowScripts {
doLast {
val newContent =
windowsScript.readText()