Browse Source

Fix fromFiles argument not lazy (#1797)

pull/1844/head
Thomas Vos 3 years ago committed by Alexey Tsvetkov
parent
commit
50327e05e6
  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() }) javaHome.set(provider { app.javaHomeOrDefault() })
launcherMainJar.set(app.mainJar.orNull) launcherMainJar.set(app.mainJar.orNull)
app._fromFiles.forEach { files.from(it) } files.from(app._fromFiles)
dependsOn(*app._dependenciesTaskNames.toTypedArray()) dependsOn(*app._dependenciesTaskNames.toTypedArray())
app._configurationSource?.let { configSource -> app._configurationSource?.let { configSource ->

Loading…
Cancel
Save