fwcd / fwcd/kotlin-language-server
Build of `main` fails for Windows
- Dominant language
- Kotlin
- Stars
- 2k
- Forks
- 252
- PR merge metrics
- No merged PRs in 30d
Description
The change in 54c84656379b2f2c41e323b1e12fc66cd0802fff causes the build in Windows to fail.
```
tatsu@TATSU-DPC-2ND I:\kotlin-language-server (54c8465...) ≢ git checkout 4bdd672
Previous HEAD position was 54c8465 Unify dependency versions (#424)
HEAD is now at 4bdd672 Refactor publishing tasks into a plugin (#437)
tatsu@TATSU-DPC-2ND I:\kotlin-language-server (4bdd672...) ≢ ./gradlew :server:run
FAILURE: Build failed with an exception.
* Where:
Build file 'I:\kotlin-language-server\server\build.gradle.kts' line: 3
* What went wrong:
An exception occurred applying plugin request [id: 'configure-publishing']
> Could not find implementation class 'ConfigurePublishingPlugin' for plugin 'configure-publishing' specified in jar:file:/C:/Users/tatsu/.gradle/caches/jars-9/f8d0472eeecaa6b95bb105513c96e85f/kotlin-plugins.jar!/META-INF/gradle-plugins/configure-publishing.properties.
* 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 1s
10 actionable tasks: 10 up-to-date
tatsu@TATSU-DPC-2ND I:\kotlin-language-server (4bdd672...) ≢ git checkout HEAD~
Previous HEAD position was 4bdd672 Refactor publishing tasks into a plugin (#437)
HEAD is now at 54c8465 Unify dependency versions (#424)
tatsu@TATSU-DPC-2ND I:\kotlin-language-server (54c8465...) ≢ ./gradlew :server:run
> Task :server:run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
4月 08, 2023 12:36:47 午前 org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint lambda$recursiveFindRpcMethods$2
重大: A delegate object is null, jsonrpc methods of 'public default org.eclipse.lsp4j.services.NotebookDocumentService org.eclipse.lsp4j.services.LanguageServer.getNotebookDocumentService()' are ignored
Content-Length: 121
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"main Adding script definitions [null]"}}Content-Length: 126
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"main Kotlin Language Server: Version 1.3.2"}}Content-Length: 295
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":1,"message":"main A delegate object is null, jsonrpc methods of \u0027public default org.eclipse.lsp4j.services.NotebookDocumentService org.eclipse.lsp4j.services.LanguageServer.getNotebookDocumentService()\u0027 are ignored"}}Content-Length: 108
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"main Connected to client"}}Content-Length: 118
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"client System.in has closed, exiting"}}
BUILD SUCCESSFUL in 6s
8 actionable tasks: 1 executed, 7 up-to-date
tatsu@TATSU-DPC-2ND I:\kotlin-language-server (54c8465...) ≢ git checkout 1.3.1
Previous HEAD position was 54c8465 Unify dependency versions (#424)
HEAD is now at e7d136d Update version back to 1.3.1
tatsu@TATSU-DPC-2ND I:\kotlin-language-server (1.3.1) ≢ ./gradlew :server:run
Starting a Gradle Daemon, 1 busy and 1 stopped Daemons could not be reused, use --status for details
> Task :server:run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Content-Length: 139
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"main Adding script definitions [ScriptTemplateWithArgs]"}}Content-Length: 126
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"main Kotlin Language Server: Version 1.3.1"}}Content-Length: 108
{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":3,"message":"main Connected to client"}}
<===========--> 90% EXECUTING [1m 18s]
> :server:run
バッチ ジョブを終了しますか (Y/N)? y
```
- 重大 = Critical
- 4月 = April
- 午前 = AM
- バッチ ジョブを終了しますか = Terminate batch job?
```
tatsu@TATSU-DPC-2ND I:\kotlin-language-server (1.3.1) ≢ kotlin -version
Kotlin version 1.8.0-release-345 (JRE 11.0.18+10-LTS)
tatsu@TATSU-DPC-2ND I:\kotlin-language-server (1.3.1) ≢ java -version
openjdk version "20" 2023-03-21
OpenJDK Runtime Environment Temurin-20+36 (build 20+36)
OpenJDK 64-Bit Server VM Temurin-20+36 (build 20+36, mixed mode, sharing)
tatsu@TATSU-DPC-2ND I:\kotlin-language-server (1.3.1) ≢ gcm java
CommandType Name Version Source
----------- ---- ------- ------
Application java.exe 20.0.0.0 C:\Program Files\Eclipse Adoptium\jre-20.0.0.36-hotspot\bin\java.exe
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.