Browse Source

Fix fromFiles argument not lazy (#1797)

pull/1808/head v1.2.0-alpha01-dev609
Thomas Vos 3 years ago committed by GitHub
parent
commit
e818953c0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/internal/configureApplication.kt

2
gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/internal/configureApplication.kt

@ -231,7 +231,7 @@ internal fun AbstractJPackageTask.configurePackagingTask(
javaHome.set(provider { app.javaHomeOrDefault() })
launcherMainJar.set(app.mainJar.orNull)
app._fromFiles.forEach { files.from(it) }
files.from(app._fromFiles)
dependsOn(*app._dependenciesTaskNames.toTypedArray())
app._configurationSource?.let { configSource ->

Loading…
Cancel
Save