gradle / gradle-build-action

Execute your Gradle build and trigger dependency submission
https://github.com/marketplace/actions/gradle-build-action
MIT License
676 stars 97 forks source link

Cache Gradle wrapper and other Gradle caches between workflow executions #7

Closed eskatos closed 4 years ago

eskatos commented 4 years ago

Github Actions agents are ephemeral, Gradle builds need to download the Gradle distribution, generate API jars, download dependencies etc... All this could be avoided on repeated builds by caching the relevant Gradle caches.

One can use https://github.com/marketplace/actions/cache Today but it requires some boilerplate:

- uses: actions/cache@v1
  with:
    path: ~/.gradle/wrapper
    key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- uses: actions/cache@v1
  with:
    path: ~/.gradle/caches
    key: ${{ runner.os }}-gradle-caches-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
    restore-keys: |
      ${{ runner.os }}-gradle-caches-

This issue is about reusing actions/cache mechanism from this very action to reduce that boilerplate.

Blocked on https://github.com/actions/cache/issues/55

eskatos commented 4 years ago

Another option until there's a @actions/cache library would be to leverage @actions/tool-cache.

stefansjs commented 4 years ago

Looks like v2 supports this now https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#using-the-cache-action

eskatos commented 4 years ago

A first step has been implemented in #19

The action will now automatically cache the wrapper installation, saving some time downloading and unpacking the Gradle distribution.

badsyntax commented 4 years ago

It seems like #19 has broken my GitHub Actions builds. I'm yet to figure out why, but can you can explain how I can use a previous version in my GitHub Actions so I get my builds working again? It seems like you're overwritten the version (v1) with this change and I can't use a previous version.

You can see my broken build here: https://github.com/badsyntax/vscode-gradle/runs/769514688?check_suite_focus=true

Firstly, I'm now seeing:

(node:3000) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

Secondly, I'm seeing:

##[error]The "path" argument must be of type string. Received type undefined

The scenario is the first gradle build happens on linux and the second (failing) build happens on windows.

eskatos commented 4 years ago

Ooops, I'll look into that, thanks for the report.

You can specify v1.1.0 to use the previous version. v1 is a dynamic GitHub Action version

badsyntax commented 4 years ago

Thanks 👍 v1.1.0 is working for me.

Not familiar with the dynamic versioning. This is why I thought I couldn't use a previous version (from https://github.com/marketplace/actions/gradle-command):

Screenshot 2020-06-14 at 11 37 30

I guess that's referring to the dynamic versioning. It's somewhat confusing.

eskatos commented 4 years ago

Fixed in v1.2.1 in https://github.com/eskatos/gradle-command-action/commit/c839ac993c41befbe443ddba91a8aafbb5d1f2fb to which v1 points now.

Good point about the version listing on the marketplace. I'll look into publishing each version so it's more clear.

eskatos commented 4 years ago

Done image

I didn't publish v1.2.0 given it is broken on Windows.

badsyntax commented 4 years ago

Awesome thanks for this. I can confirm v1 fixes things for me, and I will continue to use dynamic v1 unless things break again. Great that it's now obvious how to use a previous version.

ice1000 commented 4 years ago

I can confirm v1 fixes things for me, and I will continue to use dynamic v1 unless things break again. Great that it's now obvious how to use a previous version.

eskatos commented 4 years ago

v1.3.0 introduces caching of downloaded dependencies, disabled by default. Enabling it by default will be #21 Closing as implemented

badsyntax commented 4 years ago

hey @eskatos i'm getting the following error with v1.2.1 & v1.3.0:

Toggle error ``` ##[group]Run eskatos/gradle-command-action@v1 with: arguments: build build-root-directory: extension/test-fixtures/gradle-groovy-default-build-file wrapper-directory: extension/test-fixtures/gradle-groovy-default-build-file env: JAVA_HOME: C:\hostedtoolcache\windows\jdk\8.0.252\x64 JAVA_HOME_8.0.252_x64: C:\hostedtoolcache\windows\jdk\8.0.252\x64 ##[endgroup] (node:2860) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. Cache Size: ~179 MB (187721632 B) [command]C:\windows\System32\tar.exe -z -xf d:/a/_temp/85fe0aa4-1e34-4503-8bd7-45a5182e08d8/cache.tgz -P -C d:/a/vscode-gradle/vscode-gradle C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/annotations-13.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/ant-1.9.14.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/ant-launcher-1.9.14.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/asm-7.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/asm-analysis-7.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/asm-commons-7.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/asm-tree-7.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/commons-compress-1.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/commons-io-2.6.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/commons-lang-2.6.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/failureaccess-1.0.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/fastutil-8.2.1-min.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-base-services-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-base-services-groovy-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-bootstrap-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-build-cache-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-build-cache-packaging-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-build-option-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-cli-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-core-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-core-api-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-docs-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-execution-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-file-collections-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-files-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-hashing-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-installation-beacon-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-instant-execution-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-jvm-services-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-kotlin-dsl-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-kotlin-dsl-tooling-models-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-launcher-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-logging-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-messaging-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-model-core-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-model-groovy-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-native-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-persistent-cache-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-pineapple-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-process-services-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-resources-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-runtime-api-info-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-snapshots-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-tooling-api-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-worker-processes-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/gradle-wrapper-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/groovy-all-1.3-2.5.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/guava-27.1-android.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/jansi-1.17.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/javax.inject-1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/jcl-over-slf4j-1.7.25.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/jsr305-3.0.2.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/jul-to-slf4j-1.7.25.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-compiler-embeddable-1.3.41-patched-for-gradle-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-reflect-1.3.41.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-sam-with-receiver-compiler-plugin-1.3.41.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-script-runtime-1.3.41.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-scripting-compiler-embeddable-1.3.41.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-scripting-compiler-impl-embeddable-1.3.41.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-stdlib-1.3.41.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-stdlib-common-1.3.41.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-stdlib-jdk7-1.3.41.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlin-stdlib-jdk8-1.3.41.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kotlinx-metadata-jvm-0.1.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/kryo-2.24.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/log4j-over-slf4j-1.7.25.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/minlog-1.2.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-freebsd-amd64-libcpp-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-freebsd-amd64-libstdcpp-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-freebsd-i386-libcpp-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-freebsd-i386-libstdcpp-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-linux-aarch64-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-linux-aarch64-ncurses5-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-linux-amd64-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-linux-amd64-ncurses5-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-linux-amd64-ncurses6-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-linux-i386-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-linux-i386-ncurses5-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-linux-i386-ncurses6-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-osx-amd64-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-windows-amd64-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-windows-amd64-min-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-windows-i386-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/native-platform-windows-i386-min-0.18.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/objenesis-2.6.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/slf4j-api-1.7.25.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/trove4j-1.0.20181211.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/xml-apis-1.4.01.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/aether-api-1.13.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/aether-connector-wagon-1.13.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/aether-impl-1.13.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/aether-spi-1.13.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/aether-util-1.13.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/apiguardian-api-1.0.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/asm-util-7.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/aws-java-sdk-core-1.11.407.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/aws-java-sdk-kms-1.11.407.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/aws-java-sdk-s3-1.11.407.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/bcpg-jdk15on-1.61.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/bcprov-jdk15on-1.61.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/biz.aQute.bndlib-4.0.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/bsh-2.0b6.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/commons-codec-1.11.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/dd-plist-1.21.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/google-api-client-1.25.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/google-api-services-storage-v1-rev136-1.25.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/google-http-client-1.25.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/google-http-client-jackson2-1.25.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/google-oauth-client-1.25.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-announce-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-antlr-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-build-cache-http-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-build-comparison-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-build-init-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-build-profile-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-code-quality-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-composite-builds-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-dependency-management-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-diagnostics-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-ear-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-ide-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-ide-native-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-ide-play-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-ivy-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-jacoco-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-javascript-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-kotlin-dsl-provider-plugins-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-kotlin-dsl-tooling-builders-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-language-groovy-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-language-java-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-language-jvm-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-language-native-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-language-scala-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-maven-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-osgi-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-platform-base-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-platform-jvm-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-platform-native-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-platform-play-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-plugin-development-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-plugin-use-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-plugins-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-publish-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-reporting-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-resources-gcs-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-resources-http-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-resources-s3-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-resources-sftp-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-scala-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-signing-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-testing-base-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-testing-junit-platform-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-testing-jvm-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-testing-native-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-tooling-api-builders-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-tooling-native-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-version-control-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gradle-workers-5.6.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/gson-2.8.5.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/hamcrest-core-1.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/httpclient-4.5.6.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/httpcore-4.4.10.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/ion-java-1.0.2.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/ivy-2.3.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/jackson-annotations-2.9.8.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/jackson-core-2.9.8.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/jackson-databind-2.9.8.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/jatl-0.2.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/jcifs-1.3.17.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/jcommander-1.72.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/jmespath-java-1.11.407.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/joda-time-2.10.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/jsch-0.1.54.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/junit-4.12.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/junit-platform-commons-1.3.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/junit-platform-engine-1.3.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/junit-platform-launcher-1.3.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/jzlib-1.1.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-aether-provider-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-artifact-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-compat-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-core-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-model-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-model-builder-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-plugin-api-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-repository-metadata-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-settings-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/maven-settings-builder-3.0.4.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/nekohtml-1.9.22.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/opentest4j-1.1.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/org.eclipse.jgit-5.0.3.201809091024-r.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/plexus-cipher-1.7.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/plexus-classworlds-2.5.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/plexus-component-annotations-1.5.5.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/plexus-container-default-1.7.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/plexus-interpolation-1.14.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/plexus-sec-dispatcher-1.3.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/plexus-utils-3.1.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/pmaven-common-0.8-20100325.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/pmaven-groovy-0.8-20100325.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/rhino-1.7.10.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/simple-4.1.21.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/snakeyaml-1.17.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/testng-6.3.1.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/wagon-file-3.0.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/wagon-http-3.0.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/wagon-http-shared-3.0.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/wagon-provider-api-3.0.0.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/xbean-reflect-3.7.jar: Can't unlink already-existing object C:/Users/runneradmin/.gradle/wrapper/dists/gradle-5.6.3-bin/71q0cerxks9z090hthk8vq8r7/gradle-5.6.3/lib/plugins/xercesImpl-2.12.0.jar: Can't unlink already-existing object tar.exe: Error exit delayed from previous errors. ##[error]Tar failed with error: The process 'C:\windows\System32\tar.exe' failed with exit code 1 Post job cleanup. ```

Build here: https://github.com/badsyntax/vscode-gradle/runs/773519328?check_suite_focus=true

It's odd because I only recently started getting this error. (Yesterday everything was fine using v1.2.1.) I don't get this error with v1.1.0.

eskatos commented 4 years ago

Thanks for the report @badsyntax. It's odd that it happened only Today, I did not change wrapper caching in v1.3.0. I just published v1.3.1 with an attempt at fixing your issue. I need to invest more time in integration testing github actions to prevent that to happen again.

eskatos commented 4 years ago

IIUC, this happens on Windows when running several Gradle steps without --no-daemon in a given job. The daemon holds jar files from the distribution open and overwriting them fails on windows. The fix is to not try to restore the cached wrapper if it's already there. It's a good fix anyway.

badsyntax commented 4 years ago

Thanks for the quick fix. I've verified v1.3.1 works 👍

Indeed i'm running the builds without --no-daemon as i'm running different builds (using the same gradle version) in multiple steps. Seems like there's benefit to using the daemon in this scenario, but happy to disable the daemon if you reckon there's no benefit in doing so.

eskatos commented 4 years ago

It's good to use the daemon when you run several builds in a row. You might want to add an extra step to shut it down at the end (gradle --stop) otherwise dependencies caching won't work on Windows agents because the cache lock files are held by the daemon.

If you don't you should see something like: image

Note that the above only applies if you enable the new caching of dependencies with dependencies-cache-enabled: true

badsyntax commented 4 years ago

Cool, will do, thanks.