Open saimanojk1 opened 2 months ago
this should give you a hint:
gradle = {
wrapperEnabled = false,
}
I have the same issue even if I toggle it true
Any updates on this please?
Can you try the following path instead of {java = { gradle = { wrapperEnabled = .. } }
:
java = {
import = {
gradle = {
wrapper = {
enabled = true
}
}
}
}
I tried that just yesterday actually, same issue
java = {
import = {
gradle = {
java = {
home = "/usr/lib/jvm/jdk-11/",
},
wrapper = {
enabled = true,
},
user = {
home = "/local/.gradle/gradle.properties",
},
}
},
}
What if you leave the gradle user home empty?
See: https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home
Hi @jdneo doesn't seem to make a difference but good to learn about it. I removed that line.
Jdtls doesn't seem to use the gradle wrapper distribution from gradle properties and this is causing the build to fail. The following is my jdtls configuration for nvim-jdtls: