fxlauncher-gradle-plugin
fxlauncher-gradle-plugin copied to clipboard
copyAppDependencies broken with latest Kotlin plugin
A project which is building fine with the 1.5.30 JVM plugin fails with 1.6.20 with the following error:
Execution failed for task ':copyAppDependencies'.
> Resolving dependency configuration 'runtime' is not allowed as it is defined as 'canBeResolved=false'.
Instead, a resolvable ('canBeResolved=true') dependency configuration that extends 'runtime' should be resolved.
Presumably this is due to https://github.com/edvin/fxlauncher-gradle-plugin/blob/master/src/main/groovy/no/tornado/fxlauncher/gradle/CopyAppDependenciesTask.groovy#L29.
Maybe "runtimeClasspath" is the replacement, though I don't know if that is backwards compatible.