Open vlsi opened 4 years ago
Oh, it looks like the eager resolution is caused by the fact that the task wants to store File jdk
property:
I guess it would make sense to use Property<File>
(or RegularFile
) API.
What do you think if CreateDmg
task (and the relevant others) were updated to use Property<...>
APIs?
What do you think if the task was converted to Kotlin?
https://github.com/mbeddr/mps-gradle-plugin/blob/a4a8f3cf7204799e3cd9dd2e331c8f3692f65c0e/src/main/groovy/de/itemis/mps/gradle/CreateDmg.groovy#L55-L60
Gradle tasks should not perform artifact resolution at the configuration time as the task might even be non-required at all.