fxlauncher-gradle-plugin icon indicating copy to clipboard operation
fxlauncher-gradle-plugin copied to clipboard

copyAppDependencies broken with latest Kotlin plugin

Open jpd236 opened this issue 2 years ago • 0 comments

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.

jpd236 avatar Jun 14 '22 14:06 jpd236