You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I add this below code that writes all the dependencies into the classpath.sh and tried it. Initially I was getting the 'Classpath has not changed. Fetching from cache' log line. after i manually added another dependency, this got fixed.
`tasks.register("writeDepsToFile") {
doLast {
val home = System.getProperty("user.home")
val outputFile = file("$home/.config/kotlin-language-server/classpath.sh")
outputFile.parentFile.mkdirs() // Ensure the directory exists
val classpath = configurations.compileClasspath.get()
.joinToString(":") { it.absolutePath }
outputFile.writeText("#!/bin/bash\necho $classpath\n")
// Make the file executable
outputFile.setExecutable(true)
}
I was trying to build the kotlin server to get started on contributing the project.
Running installedDist worked fine
But warning in the IDE after the indexing is done
Attached logs for your reference
kls.ownserver.log
When I run build, it's failed
Please let me know what I am doing wrong. Are those warnings with red underlines expected?
The text was updated successfully, but these errors were encountered: