vscode-gradle
vscode-gradle copied to clipboard
ERROR 'Execution failed for task'
Extension Name: vscode-gradle Extension Version: 3.6.1 OS Version: Linux Mint 20.1 (mate) x64 VSCode version: 1.56.2
Describe the bug When run "build" task from vscode-gradle plugin appear the error. This does not happen when I run the task from the terminal (outside vs code)
To Reproduce run "build" task
Output from "Gradle Tasks" `* What went wrong: Execution failed for task ':compileKotlin'.
Could not resolve all files for configuration ':compileClasspath'.`
Additional context (settings.json)
{
"java.home": "/opt/Java/jdk-11.0.11+9",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"spring-boot.ls.java.home": "/opt/Java/jdk-11.0.11+9",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -javaagent:\"/home/guido/.var/app/com.visualstudio.code/data/vscode/extensions/gabrielbb.vscode-lombok-1.0.1/server/lombok.jar\"",
"spring.initializr.defaultJavaVersion": "8",
"boot-java.change-detection.on": true,
``` "java.configuration.runtimes": [
{
"name": "JavaSE-11",
"path": "/opt/Java/jdk-11.0.11+9",
},
{
"name": "JavaSE-1.8",
"path": "/opt/Java/jdk8u292-b10",
},
],
"java.project.importOnFirstTimeStartup": "automatic",
"gradle.debug": true,
"gradle.javaDebug": {
"tasks": [
"tomcatRun",
"run",
"runBoot",
"test",
"intTest",
"integration"
]
},
"terminal.integrated.shellArgs.linux": [
"-l",
// "-i"
],
"maven.executable.path": "/opt/apache-maven-3.8.1",
"maven.executable.preferMavenWrapper": false,
"java.import.gradle.java.home": "/opt/Java/jdk8u292-b10",
"java.import.gradle.user.home": "/home/guido/.gradle"
}`
could you provide a sample project to help us reproduce this issue?