beryx / badass-jlink-plugin

Create a custom runtime image of your modular application
https://badass-jlink-plugin.beryx.org
Apache License 2.0
384 stars 27 forks source link

Failed to copy file during prepareMergedJarsDir Task #186

Closed dantestopp closed 3 years ago

dantestopp commented 3 years ago

During the prepareMergedJarsDir Task I get an Error:

Attempt to copy [My Path]\build\jlinkbase\tmpjars\META-INF\license\LICENSE.base64.txt to [My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt using NIO Channels failed due to 'failed to create the parent directory for[My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt'.  Falling back to streams.

> Task :prepareMergedJarsDir FAILED

Execution failed for task ':prepareMergedJarsDir'.
> Failed to copy[My Path]\build\jlinkbase\tmpjars\META-INF\license\LICENSE.base64.txt to [My Path]\code\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt due to [My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt

I suspect the error is due to the Windows restriction that in a folder there can not be a folder and file with the same name. Because in Windows the file / folder name is not case sensitive, the folder license can not be created because there is already an LICENSE file in the META-INF directory.

Any help is appreciated

image

siordache commented 3 years ago

Please run gradle with the -is flags and post the output here.

dantestopp commented 3 years ago
11:02:09: Executing task 'jlink --info -is'...

Starting Gradle Daemon...
Gradle Daemon started in 9 s 410 ms
The client will now receive all logging from the daemon (pid: 2372). The daemon log file: [My User Path]\.gradle\daemon\6.8\daemon-2372.out.log
Starting build in new daemon [memory: 512 MiB]
Using 8 worker leases.
Watching the file system is disabled
Starting Build
Compiling initialization script '[My AppData Path]\AppData\Local\Temp\wrapper_init76.gradle' using SubsetScriptTransformer.
Invalidating in-memory cache of [My User Path]\.gradle\caches\journal-1\file-access.bin
Compiling initialization script '[My AppData Path]\AppData\Local\Temp\wrapper_init76.gradle' using BuildScriptTransformer.
Invalidating in-memory cache of [My User Path]\.gradle\caches\journal-1\file-access.bin
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\fileHashes.bin
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\resourceHashesCache.bin
Settings evaluated using settings file '[My Path]\settings.gradle'.
Projects loaded. Root project using build file '[My Path]\build.gradle'.
Included projects: [root project 'IRLab']

> Configure project :
Evaluating root project 'IRLab' using build file '[My Path]\build.gradle'.
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\fileHashes.bin
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\resourceHashesCache.bin
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\fileHashes.bin
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\resourceHashesCache.bin
Project : => no module-info.java found
------------------------------------------------------------------------
Detecting the operating system and CPU architecture
------------------------------------------------------------------------
os.detected.name=windows
os.detected.arch=x86_64
os.detected.version=10.0
os.detected.version.major=10
os.detected.version.minor=0
os.detected.classifier=windows-x86_64
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\fileHashes.bin
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\resourceHashesCache.bin
All projects evaluated.
Selected primary task 'wrapper' from project :
Tasks to be executed: [task ':wrapper']
Tasks that were excluded: []
:wrapper (Thread[Execution worker for ':',5,main]) started.

> Task :wrapper
Caching disabled for task ':wrapper' because:
  Build cache is disabled
Task ':wrapper' is not up-to-date because:
  One or more additional actions for task ':wrapper' have changed.
:wrapper (Thread[Execution worker for ':',5,main]) completed. Took 0.816 secs.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 27s
1 actionable task: 1 executed
The client will now receive all logging from the daemon (pid: 2372). The daemon log file: [My User Path]\.gradle\daemon\6.8\daemon-2372.out.log
Starting 2nd build in daemon [uptime: 23.371 secs, performance: 100%, non-heap usage: 14% of 256 MiB]
Using 8 worker leases.
Invalidating in-memory cache of [My Path]\.gradle\6.8\fileHashes\fileHashes.bin
Invalidating in-memory cache of [My Path]\.gradle\6.8\fileHashes\resourceHashesCache.bin
Watching the file system is disabled
Starting Build
Invalidating in-memory cache of [My Path]\.gradle\checksums\md5-checksums.bin
Invalidating in-memory cache of [My Path]\.gradle\checksums\sha1-checksums.bin
Invalidating in-memory cache of [My Path]\.gradle\checksums\sha256-checksums.bin
Invalidating in-memory cache of [My Path]\.gradle\checksums\sha512-checksums.bin
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\fileHashes.bin
Invalidating in-memory cache of [My User Path]\.gradle\caches\6.8\fileHashes\resourceHashesCache.bin
Settings evaluated using settings file '[My Path]\settings.gradle'.
Projects loaded. Root project using build file '[My Path]\build.gradle'.
Included projects: [root project 'IRLab']

> Configure project :
Evaluating root project 'IRLab' using build file '[My Path]\build.gradle'.
Invalidating in-memory cache of [My Path]\.gradle\buildOutputCleanup\outputFiles.bin
Project : => no module-info.java found
------------------------------------------------------------------------
Detecting the operating system and CPU architecture
------------------------------------------------------------------------
os.detected.name=windows
os.detected.arch=x86_64
os.detected.version=10.0
os.detected.version.major=10
os.detected.version.minor=0
os.detected.classifier=windows-x86_64
All projects evaluated.
Selected primary task 'jlink' from project :
Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':prepareMergedJarsDir', task ':createMergedModule', task ':createDelegatingModules', task ':prepareModulesDir', task ':jlink']
Tasks that were excluded: []
:compileJava (Thread[Execution worker for ':',5,main]) started.
Invalidating in-memory cache of [My Path]\.gradle\6.8\executionHistory\executionHistory.bin

> Task :compileJava UP-TO-DATE
Caching disabled for task ':compileJava' because:
  Build cache is disabled
Skipping task ':compileJava' as it is up-to-date.
:compileJava (Thread[Execution worker for ':',5,main]) completed. Took 0.751 secs.
:processResources (Thread[Execution worker for ':',5,main]) started.

> Task :processResources UP-TO-DATE
Caching disabled for task ':processResources' because:
  Build cache is disabled
Skipping task ':processResources' as it is up-to-date.
:processResources (Thread[Execution worker for ':',5,main]) completed. Took 0.024 secs.
:classes (Thread[Execution worker for ':',5,main]) started.

> Task :classes UP-TO-DATE
Skipping task ':classes' as it has no actions.
:classes (Thread[Execution worker for ':',5,main]) completed. Took 0.014 secs.
:jar (Thread[Daemon worker,5,main]) started.

> Task :jar
Caching disabled for task ':jar' because:
  Build cache is disabled
Task ':jar' is not up-to-date because:
  Input property 'rootSpec$1' file [My Path]\build\classes\java\main\irlab_plus\controllers\HeatmapExperimentController.class has changed.
:jar (Thread[Daemon worker,5,main]) completed. Took 0.588 secs.
:prepareMergedJarsDir (Thread[Daemon worker,5,main]) started.

> Task :prepareMergedJarsDir
Caching disabled for task ':prepareMergedJarsDir' because:
  Build cache is disabled
Task ':prepareMergedJarsDir' is not up-to-date because:
  Task has failed previously.
Executing: [My User Path]\.jdks\corretto-11.0.11/bin/javac -cp . -d . JavaVersion.java

Executing: [[My User Path]\.jdks\corretto-11.0.11/bin/java, -cp, ., JavaVersion]
11

javaVersion([My User Path]\.jdks\corretto-11.0.11): 11

taskData: org.beryx.jlink.data.PrepareMergedJarsDirTaskData(forceMergedJarPrefixes:[], extraDependenciesPrefixes:[], mergedJarsDir:[My Path]\build\jlinkbase\mergedjars, jlinkJarsDirPath:[My Path]\build/jlinkbase/jlinkjars, nonModularJarsDirPath:[My Path]\build/jlinkbase/nonmodjars, tmpJarsDirPath:[My Path]\build/jlinkbase/tmpjars, configuration:configuration ':runtimeClasspath', javaHome:[My User Path]\.jdks\corretto-11.0.11, jvmVersion:11)
extraDeps: []
modularJars: [asm-commons-6.0.jar, asm-tree-6.0.jar, asm-6.0.jar, javafx-graphics-16-win.jar, javafx-base-16-win.jar, javafx-controls-16-win.jar, javafx-fxml-16-win.jar]
nonModularJars: [terrier-core-5.4.jar, terrier-index-api-5.4.jar, terrier-retrieval-api-5.4.jar, hadoop-common-2.8.2.jar, avro-1.7.4.jar, slf4j-api-1.7.29.jar, jackson-mapper-asl-1.9.13.jar, jackson-core-asl-1.9.13.jar, commons-compress-1.4.1.jar, xz-1.0.jar, snappy-java-1.0.5-M3.jar, paranamer-2.3.jar, hadoop-auth-2.8.2.jar, curator-framework-2.7.1.jar, curator-client-2.7.1.jar, zookeeper-3.4.6.jar, jline-2.6.jar, log4j-1.2.17.jar, netty-3.7.0.Final.jar, guava-27.0-jre.jar, failureaccess-1.0.jar, listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar, jsr305-3.0.2.jar, checker-qual-2.5.2.jar, error_prone_annotations-2.2.0.jar, j2objc-annotations-1.1.jar, animal-sniffer-annotations-1.17.jar, apacheds-kerberos-codec-2.0.0-M15.jar, apacheds-i18n-2.0.0-M15.jar, api-asn1-api-1.0.0-M20.jar, api-util-1.0.0-M20.jar, httpclient-4.5.6.jar, httpcore-4.4.10.jar, commons-logging-1.2.jar, commons-codec-1.10.jar, nimbus-jose-jwt-3.9.jar, commons-io-2.4.jar, jcip-annotations-1.0.jar, json-smart-1.1.1.jar, curator-recipes-2.7.1.jar, gson-2.2.4.jar, commons-cli-1.4.jar, jets3t-0.9.0.jar, java-xmlbuilder-0.4.jar, commons-configuration-1.6.jar, commons-digester-1.8.jar, commons-beanutils-1.7.0.jar, commons-beanutils-core-1.8.0.jar, commons-collections-3.2.2.jar, commons-lang-2.6.jar, hadoop-annotations-2.8.2.jar, commons-math3-3.1.1.jar, xmlenc-0.52.jar, commons-net-3.1.jar, jetty-sslengine-6.1.26.jar, jetty-6.1.26.jar, jetty-util-6.1.26.jar, servlet-api-2.5-20081211.jar, jersey-json-1.9.jar, jackson-jaxrs-1.8.3.jar, jackson-xc-1.8.3.jar, jettison-1.1.jar, jaxb-impl-2.2.3-1.jar, jaxb-api-2.2.2.jar, stax-api-1.0-2.jar, activation-1.1.jar, protobuf-java-2.5.0.jar, jsch-0.1.54.jar, htrace-core4-4.0.1-incubating.jar, commons-lang3-3.7.jar, maven-resolver-connector-basic-1.4.1.jar, maven-resolver-spi-1.4.1.jar, maven-resolver-api-1.4.1.jar, maven-resolver-util-1.4.1.jar, maven-resolver-transport-file-1.4.1.jar, maven-resolver-transport-http-1.4.1.jar, jcl-over-slf4j-1.7.25.jar, byteunits-0.9.1.jar, maven-resolver-provider-3.5.0.jar, maven-model-builder-3.5.0.jar, maven-model-3.5.0.jar, plexus-utils-3.0.24.jar, maven-artifact-3.5.0.jar, maven-builder-support-3.5.0.jar, plexus-component-annotations-1.7.1.jar, plexus-interpolation-1.24.jar, maven-resolver-impl-1.0.3.jar, maven-repository-metadata-3.5.0.jar, commons-collections4-4.1.jar, commons-text-1.4.jar, fastutil-8.2.2.jar, annotations-1.3.2.jar, pdfbox-2.0.18.jar, fontbox-2.0.18.jar, hadoop-hdfs-client-2.8.2.jar, okhttp-2.4.0.jar, okio-1.4.0.jar, jsoup-1.7.3.jar, javax.servlet.jsp-api-2.2.1.jar, jetty-annotations-9.3.29.v20201019.jar, jetty-plus-9.3.29.v20201019.jar, jetty-webapp-9.3.29.v20201019.jar, jetty-servlet-9.3.29.v20201019.jar, jetty-security-9.3.29.v20201019.jar, jetty-server-9.3.29.v20201019.jar, javax.servlet-api-3.1.0.jar, jetty-http-9.3.29.v20201019.jar, jetty-util-9.3.29.v20201019.jar, jetty-io-9.3.29.v20201019.jar, jetty-xml-9.3.29.v20201019.jar, jetty-jndi-9.3.29.v20201019.jar, javax.annotation-api-1.2.jar, apache-jsp-9.3.29.v20201019.jar, apache-jsp-8.0.33.jar, jetty-schemas-3.1.jar, apache-el-8.0.33.jar, ecj-4.4.2.jar, poi-ooxml-3.8.jar, poi-3.8.jar, poi-ooxml-schemas-3.8.jar, xmlbeans-2.3.0.jar, stax-api-1.0.1.jar, dom4j-1.6.1.jar, xml-apis-1.0.b2.jar, poi-scratchpad-3.8.jar, picard-1.86.0.jar, commons-jexl-2.1.1.jar, ant-apache-bcel-1.8.4.jar, ant-1.8.4.jar, ant-launcher-1.8.4.jar, bcel-5.1.jar, regexp-1.2.jar, lucene-snowball-3.0.3.jar, trove4j-2.0.2.jar, jackson-databind-2.9.10.5.jar, jackson-core-2.9.10.jar, jackson-annotations-2.9.10.jar, terrier-realtime-5.4.jar, terrier-batch-indexers-5.4.jar, memory-measurer--SNAPSHOT.jar, terrier-batch-retrieval-5.4.jar, jtreceval-0.0.5.jar, slf4j-log4j12-1.7.29.jar]
modularJarsRequiredByNonModularJars: [asm-commons-6.0.jar, asm-tree-6.0.jar, asm-6.0.jar]
artifactsHandledAsNonModular: []
Copying modular jars required by non-modular jars to [My Path]\build/jlinkbase/jlinkjars...
Copying mon-modular jars to [My Path]\build/jlinkbase/nonmodjars...
Merging content into [My Path]\build\jlinkbase\mergedjars...
[ant:move] Moving 42 files to [My Path]\build\jlinkbase
[ant:move] Moving 4 files to [My Path]\build\jlinkbase
[ant:move] Moving 20 files to [My Path]\build\jlinkbase
[ant:move] Moving 1107 files to [My Path]\build\jlinkbase
[ant:move] Moving 7 files to [My Path]\build\jlinkbase
[ant:move] Moving 8 files to [My Path]\build\jlinkbase
[ant:move] Moving 165 files to [My Path]\build\jlinkbase
[ant:move] Moving 499 files to [My Path]\build\jlinkbase
[ant:move] Moving 9 files to [My Path]\build\jlinkbase
[ant:move] Moved 12 empty directories to 1 empty directory under [My Path]\build\jlinkbase
[ant:move] Moving 11 files to [My Path]\build\jlinkbase
[ant:move] Moving 482 files to [My Path]\build\jlinkbase
[ant:move] Moving 13 files to [My Path]\build\jlinkbase
[ant:move] Moving 48 files to [My Path]\build\jlinkbase
[ant:move] Moving 215 files to [My Path]\build\jlinkbase
[ant:move] Moving 375 files to [My Path]\build\jlinkbase
[ant:move] Moving 26 files to [My Path]\build\jlinkbase
[ant:move] Moving 303 files to [My Path]\build\jlinkbase
[ant:move] Moving 120 files to [My Path]\build\jlinkbase
[ant:move] Moving 121 files to [My Path]\build\jlinkbase
[ant:move] Moving 32 files to [My Path]\build\jlinkbase
[ant:move] Moving 225 files to [My Path]\build\jlinkbase
[ant:move] Moving 465 files to [My Path]\build\jlinkbase
[ant:move] Moving 523 files to [My Path]\build\jlinkbase
[ant:move] Moving 134 files to [My Path]\build\jlinkbase
[ant:move] Moving 173 files to [My Path]\build\jlinkbase
[ant:move] Moving 104 files to [My Path]\build\jlinkbase
[ant:move] Moving 115 files to [My Path]\build\jlinkbase
[ant:move] Moving 183 files to [My Path]\build\jlinkbase
Excluding org/apache/commons/lang/enum/Enum$Entry.class from the merged module.
Excluding org/apache/commons/lang/enum/Enum.class from the merged module.
Excluding org/apache/commons/lang/enum/EnumUtils.class from the merged module.
Excluding org/apache/commons/lang/enum/ValuedEnum.class from the merged module.
[ant:move] Moving 134 files to [My Path]\build\jlinkbase
[ant:move] Moved 18 empty directories to 1 empty directory under [My Path]\build\jlinkbase
[ant:move] Moving 275 files to [My Path]\build\jlinkbase
[ant:move] Moving 33 files to [My Path]\build\jlinkbase
[ant:move] Moving 961 files to [My Path]\build\jlinkbase
[ant:move] Moving 177 files to [My Path]\build\jlinkbase
[ant:move] Moving 120 files to [My Path]\build\jlinkbase
[ant:move] Moving 62 files to [My Path]\build\jlinkbase
[ant:move] Moving 174 files to [My Path]\build\jlinkbase
[ant:move] Moving 209 files to [My Path]\build\jlinkbase
[ant:move] Moving 192 files to [My Path]\build\jlinkbase
[ant:move] Moving 611 files to [My Path]\build\jlinkbase
[ant:move] Moving 25 files to [My Path]\build\jlinkbase
[ant:move] Moving 5 files to [My Path]\build\jlinkbase
[ant:move] Moving 10773 files to [My Path]\build\jlinkbase
[ant:move] Moving 256 files to [My Path]\build\jlinkbase
[ant:move] Moving 154 files to [My Path]\build\jlinkbase
[ant:move] Moving 1960 files to [My Path]\build\jlinkbase
[ant:move] Moving 21 files to [My Path]\build\jlinkbase
[ant:move] Moving 53 files to [My Path]\build\jlinkbase
[ant:move] Moving 2265 files to [My Path]\build\jlinkbase
[ant:move] Moving 1693 files to [My Path]\build\jlinkbase
[ant:move] Moving 765 files to [My Path]\build\jlinkbase
[ant:move] Moving 475 files to [My Path]\build\jlinkbase
[ant:move] Moving 259 files to [My Path]\build\jlinkbase
[ant:move] Moving 15 files to [My Path]\build\jlinkbase
[ant:move] Moving 72 files to [My Path]\build\jlinkbase
[ant:move] Moving 112 files to [My Path]\build\jlinkbase
[ant:move] Moving 126 files to [My Path]\build\jlinkbase
[ant:move] Moving 629 files to [My Path]\build\jlinkbase
[ant:move] Moving 13 files to [My Path]\build\jlinkbase
[ant:move] Moving 507 files to [My Path]\build\jlinkbase
[ant:move] Moving 17 files to [My Path]\build\jlinkbase
[ant:move] Moving 7 files to [My Path]\build\jlinkbase
[ant:move] Moving 21 files to [My Path]\build\jlinkbase
[ant:move] Moving 94 files to [My Path]\build\jlinkbase
[ant:move] Moving 61 files to [My Path]\build\jlinkbase
[ant:move] Moving 106 files to [My Path]\build\jlinkbase
[ant:move] Moving 672 files to [My Path]\build\jlinkbase
[ant:move] Moving 5 files to [My Path]\build\jlinkbase
[ant:move] Moving 12 files to [My Path]\build\jlinkbase
[ant:move] Moving 97 files to [My Path]\build\jlinkbase
[ant:move] Moving 313 files to [My Path]\build\jlinkbase
[ant:move] Moving 44 files to [My Path]\build\jlinkbase
[ant:move] Moving 246 files to [My Path]\build\jlinkbase
[ant:move] Moving 46 files to [My Path]\build\jlinkbase
[ant:move] Moving 80 files to [My Path]\build\jlinkbase
[ant:move] Moving 88 files to [My Path]\build\jlinkbase
[ant:move] Moving 23 files to [My Path]\build\jlinkbase
[ant:move] Moving 28 files to [My Path]\build\jlinkbase
[ant:move] Moving 40 files to [My Path]\build\jlinkbase
[ant:move] Moving 58 files to [My Path]\build\jlinkbase
[ant:move] Moving 250 files to [My Path]\build\jlinkbase
[ant:move] Moving 52 files to [My Path]\build\jlinkbase
[ant:move] Moving 8 files to [My Path]\build\jlinkbase
[ant:move] Moving 108 files to [My Path]\build\jlinkbase
[ant:move] Moving 271 files to [My Path]\build\jlinkbase
[ant:move] Moving 47 files to [My Path]\build\jlinkbase
[ant:move] Moving 22 files to [My Path]\build\jlinkbase
[ant:move] Moving 84 files to [My Path]\build\jlinkbase
[ant:move] Moving 167 files to [My Path]\build\jlinkbase
[ant:move] Moving 42 files to [My Path]\build\jlinkbase
[ant:move] Moving 231 files to [My Path]\build\jlinkbase
[ant:move] Moving 38 files to [My Path]\build\jlinkbase
[ant:move] Moving 11 files to [My Path]\build\jlinkbase
[ant:move] Moving 3 files to [My Path]\build\jlinkbase
[ant:move] Moving 324 files to [My Path]\build\jlinkbase
[ant:move] Moving 30 files to [My Path]\build\jlinkbase
[ant:move] Moving 38 files to [My Path]\build\jlinkbase
[ant:move] Moving 16 files to [My Path]\build\jlinkbase
[ant:move] Moving 60 files to [My Path]\build\jlinkbase
[ant:move] Moving 129 files to [My Path]\build\jlinkbase
[ant:move] Moving 15 files to [My Path]\build\jlinkbase
[ant:move] Moving 138 files to [My Path]\build\jlinkbase
[ant:move] Moving 26 files to [My Path]\build\jlinkbase
[ant:move] Moving 103 files to [My Path]\build\jlinkbase
[ant:move] Moving 34 files to [My Path]\build\jlinkbase
[ant:move] Moving 40 files to [My Path]\build\jlinkbase
[ant:move] Moving 11 files to [My Path]\build\jlinkbase
[ant:move] Moving 27 files to [My Path]\build\jlinkbase
[ant:move] Moving 111 files to [My Path]\build\jlinkbase
[ant:move] Moving 22 files to [My Path]\build\jlinkbase
[ant:move] Moving 836 files to [My Path]\build\jlinkbase
Attempt to copy [My Path]\build\jlinkbase\tmpjars\META-INF\license\LICENSE.base64.txt to [My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt using NIO Channels failed due to 'failed to create the parent directory for [My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt'.  Falling back to streams.

> Task :prepareMergedJarsDir FAILED
:prepareMergedJarsDir (Thread[Daemon worker,5,main]) completed. Took 11 mins 38.827 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':prepareMergedJarsDir'.
> Failed to copy [My Path]\build\jlinkbase\tmpjars\META-INF\license\LICENSE.base64.txt to [My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt due to [My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt

* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':prepareMergedJarsDir'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$3(ExecuteActionsTaskExecuter.java:186)
    at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:268)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:184)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:173)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:411)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:398)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:391)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:377)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
    at org.gradle.execution.plan.DefaultPlanExecutor.process(DefaultPlanExecutor.java:72)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.executeWithServices(DefaultTaskExecutionGraph.java:196)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:189)
    at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:39)
    at org.gradle.execution.DefaultBuildWorkExecutor.execute(DefaultBuildWorkExecutor.java:40)
    at org.gradle.execution.DefaultBuildWorkExecutor.access$000(DefaultBuildWorkExecutor.java:24)
    at org.gradle.execution.DefaultBuildWorkExecutor$1.proceed(DefaultBuildWorkExecutor.java:48)
    at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:49)
    at org.gradle.execution.DefaultBuildWorkExecutor.execute(DefaultBuildWorkExecutor.java:40)
    at org.gradle.execution.DefaultBuildWorkExecutor.execute(DefaultBuildWorkExecutor.java:33)
    at org.gradle.execution.IncludedBuildLifecycleBuildWorkExecutor.execute(IncludedBuildLifecycleBuildWorkExecutor.java:36)
    at org.gradle.execution.DeprecateUndefinedBuildWorkExecutor.execute(DeprecateUndefinedBuildWorkExecutor.java:44)
    at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.run(BuildOperationFiringBuildWorkerExecutor.java:57)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
    at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor.execute(BuildOperationFiringBuildWorkerExecutor.java:42)
    at org.gradle.initialization.DefaultGradleLauncher.runWork(DefaultGradleLauncher.java:260)
    at org.gradle.initialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:172)
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:148)
    at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:124)
    at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:72)
    at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:67)
    at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213)
    at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:67)
    at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:56)
    at org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:56)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:63)
    at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
    at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:77)
    at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.lambda$execute$0(InProcessBuildActionExecuter.java:54)
    at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:86)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:53)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:29)
    at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.lambda$execute$0(BuildTreeScopeLifecycleBuildActionExecuter.java:33)
    at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:49)
    at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:32)
    at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:27)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:104)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55)
    at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:64)
    at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:37)
    at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.lambda$execute$0(SessionScopeLifecycleBuildActionExecuter.java:54)
    at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:67)
    at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:50)
    at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:36)
    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
    at org.gradle.util.Swapper.swap(Swapper.java:38)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: : Failed to copy [My Path]\build\jlinkbase\tmpjars\META-INF\license\LICENSE.base64.txt to [My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt due to [My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt
    at org.apache.tools.ant.taskdefs.Move.copyFile(Move.java:254)
    at org.apache.tools.ant.taskdefs.Move.moveFile(Move.java:220)
    at org.apache.tools.ant.taskdefs.Move.doFileOperations(Move.java:158)
    at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:567)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at jdk.internal.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
    at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:80)
    at org.gradle.api.internal.project.ant.BasicAntBuilder.doInvokeMethod(BasicAntBuilder.java:107)
    at org.beryx.jlink.impl.PrepareMergedJarsDirTaskImpl$_mergeUnpackedContents_closure3.doCall(PrepareMergedJarsDirTaskImpl.groovy:96)
    at jdk.internal.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at org.beryx.jlink.impl.PrepareMergedJarsDirTaskImpl.mergeUnpackedContents(PrepareMergedJarsDirTaskImpl.groovy:75)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at org.beryx.jlink.impl.PrepareMergedJarsDirTaskImpl.execute(PrepareMergedJarsDirTaskImpl.groovy:44)
    at org.beryx.jlink.PrepareMergedJarsDirTask.createMergedModuleAction(PrepareMergedJarsDirTask.groovy:88)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$2.run(ExecuteActionsTaskExecuter.java:494)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:479)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:462)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$400(ExecuteActionsTaskExecuter.java:105)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:273)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:251)
    at org.gradle.internal.execution.steps.ExecuteStep.lambda$executeOperation$1(ExecuteStep.java:66)
    at org.gradle.internal.execution.steps.ExecuteStep.executeOperation(ExecuteStep.java:66)
    at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:34)
    at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:47)
    at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:44)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:34)
    at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:72)
    at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:42)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:53)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:39)
    at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:44)
    at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:77)
    at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:58)
    at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:54)
    at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:32)
    at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:57)
    at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:38)
    at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:63)
    at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:30)
    at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:176)
    at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:76)
    at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:47)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:43)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:32)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:39)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:25)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:102)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:95)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:83)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:96)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:52)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:83)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:54)
    at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:88)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:88)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
    at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:46)
    at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:34)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:43)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution$3.withWorkspace(ExecuteActionsTaskExecuter.java:286)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:43)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:33)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:40)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:30)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:54)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:40)
    at org.gradle.internal.execution.impl.DefaultExecutionEngine.execute(DefaultExecutionEngine.java:41)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:183)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:183)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:173)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:411)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:398)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:391)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:377)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
    at org.gradle.execution.plan.DefaultPlanExecutor.process(DefaultPlanExecutor.java:72)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.executeWithServices(DefaultTaskExecutionGraph.java:196)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:189)
    at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:39)
    at org.gradle.execution.DefaultBuildWorkExecutor.execute(DefaultBuildWorkExecutor.java:40)
    at org.gradle.execution.DefaultBuildWorkExecutor.access$000(DefaultBuildWorkExecutor.java:24)
    at org.gradle.execution.DefaultBuildWorkExecutor$1.proceed(DefaultBuildWorkExecutor.java:48)
    at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:49)
    at org.gradle.execution.DefaultBuildWorkExecutor.execute(DefaultBuildWorkExecutor.java:40)
    at org.gradle.execution.DefaultBuildWorkExecutor.execute(DefaultBuildWorkExecutor.java:33)
    at org.gradle.execution.IncludedBuildLifecycleBuildWorkExecutor.execute(IncludedBuildLifecycleBuildWorkExecutor.java:36)
    at org.gradle.execution.DeprecateUndefinedBuildWorkExecutor.execute(DeprecateUndefinedBuildWorkExecutor.java:44)
    at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor$ExecuteTasks.run(BuildOperationFiringBuildWorkerExecutor.java:57)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
    at org.gradle.execution.BuildOperationFiringBuildWorkerExecutor.execute(BuildOperationFiringBuildWorkerExecutor.java:42)
    at org.gradle.initialization.DefaultGradleLauncher.runWork(DefaultGradleLauncher.java:260)
    at org.gradle.initialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:172)
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:148)
    at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:124)
    at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:72)
    at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:67)
    at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213)
    at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:67)
    at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:56)
    at org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:56)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:63)
    at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
    at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:77)
    at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.lambda$execute$0(InProcessBuildActionExecuter.java:54)
    at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:86)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:53)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:29)
    at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.lambda$execute$0(BuildTreeScopeLifecycleBuildActionExecuter.java:33)
    at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:49)
    at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:32)
    at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:27)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:104)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55)
    at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:64)
    at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:37)
    at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.lambda$execute$0(SessionScopeLifecycleBuildActionExecuter.java:54)
    at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:67)
    at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:50)
    at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:36)
    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
    at org.gradle.util.Swapper.swap(Swapper.java:38)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: java.nio.file.NoSuchFileException: [My Path]\build\jlinkbase\mergedjars\META-INF\license\LICENSE.base64.txt
    at org.apache.tools.ant.util.FileUtils.newOutputStream(FileUtils.java:1861)
    at org.apache.tools.ant.types.resources.FileResource.getOutputStream(FileResource.java:268)
    at org.apache.tools.ant.types.resources.FileResource.getOutputStream(FileResource.java:241)
    at org.apache.tools.ant.util.ResourceUtils.getOutputStream(ResourceUtils.java:793)
    at org.apache.tools.ant.util.ResourceUtils.copyUsingStreams(ResourceUtils.java:767)
    at org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:437)
    at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:586)
    at org.apache.tools.ant.taskdefs.Move.copyFile(Move.java:244)
    ... 242 more

* Get more help at https://help.gradle.org

BUILD FAILED in 11m 41s

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
4 actionable tasks: 2 executed, 2 up-to-date
11:14:21: Task execution finished 'jlink --info -is'.
siordache commented 3 years ago

In 2.24.0 I added the method jarExclude, which allows you to get rid of the error by using:

jlink {
    jarExclude("netty", "**/license/")
    ...
}
dantestopp commented 3 years ago

Thank you! This solved the issue 👍🏼

vardlokkur commented 2 days ago

@siordache I have similar problem on windows, getting error:

* What went wrong:
Execution failed for task ':prepareMergedJarsDir'.
> Failed to copy C:\.........\build\jlinkbase\tmpjars\license\LICENSE to C:\................\build\jlinkbase\mergedjars\license\LICENSE due to C:\...............\build\jlinkbase\mergedjars\license\LICENSE

I tried: jarExclude("**/license/**", "**/LICENSE*") option for jlink task but it doesn't help at all :( There is a file named LICENSE in target directory (mergedjars), and when your plugin tries to copy directory with license name it clashes with the existing file.