mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-20 04:27:48 -05:00
Compare commits
1 Commits
master
...
2721-fix-r
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d6fcb50d8 |
@@ -232,8 +232,14 @@ application {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds the splash screen to the run task through an argument provider. Calling jvmArgs here would replace the
|
||||||
|
* applicationDefaultJvmArgs convention (--add-modules=jdk.incubator.vector, --enable-preview, etc.) instead of adding
|
||||||
|
* to it.
|
||||||
|
*/
|
||||||
tasks.named('run') {
|
tasks.named('run') {
|
||||||
jvmArgs "-splash:${file(splashResourceDir + '/' + splashImages[0]).absolutePath}"
|
def splashImage = file(splashResourceDir + '/' + splashImages[0]).absolutePath
|
||||||
|
jvmArgumentProviders.add({ ["-splash:${splashImage}".toString()] } as CommandLineArgumentProvider)
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
|||||||
Reference in New Issue
Block a user