#trouble with gradle
2 messages · Page 1 of 1 (latest)
PS C:\Java\Haccs> ./gradlew build
> Configure project :
Fabric Loom: 1.10.4
> Task :remapSourcesJar FAILED
> Task :remapJar FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':remapSourcesJar'.
> A failure occurred while executing net.fabricmc.loom.task.RemapSourcesJarTask$RemapSourcesAction
> Failed to remap sources
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':remapJar'.
> A failure occurred while executing net.fabricmc.loom.task.RemapJarTask$RemapAction
> Failed to remap, java.nio.file.FileSystemException: C:\Java\Haccs\build\libs\zipfstmp4374294667996708281.tmp -> C:\Java\Haccs\build\libs\haccs-1.0-SNAPSHOT.jar: The process cannot access the file because it is being used by another process
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
BUILD FAILED in 3s
8 actionable tasks: 2 executed, 6 up-to-date
PS C:\Java\Haccs>