$ lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
$ java --version
java 11.0.1 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
compile log
$ ./gradlew shadowJar
e: /home/lsl/github/EmmyLua-LanguageServer/EmmyLua-LS/src/main/kotlin/com/tang/vscode/LuaTextDocumentService.kt: (33, 47): Symbol is declared in module 'java.base' which does not export package 'sun.reflect.generics.reflectiveObjects'
e: /home/lsl/github/EmmyLua-LanguageServer/EmmyLua-LS/src/main/kotlin/com/tang/vscode/LuaTextDocumentService.kt: (212, 15): Symbol is declared in module 'java.base' which does not export package 'sun.reflect.generics.reflectiveObjects'
e: /home/lsl/github/EmmyLua-LanguageServer/EmmyLua-LS/src/main/kotlin/com/tang/vscode/LuaTextDocumentService.kt: (235, 15): Symbol is declared in module 'java.base' which does not export package 'sun.reflect.generics.reflectiveObjects'
e: /home/lsl/github/EmmyLua-LanguageServer/EmmyLua-LS/src/main/kotlin/com/tang/vscode/LuaTextDocumentService.kt: (433, 15): Symbol is declared in module 'java.base' which does not export package 'sun.reflect.generics.reflectiveObjects'
Task :EmmyLua-LS:compileKotlin FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':EmmyLua-LS:compileKotlin'.
Compilation error. See log for more details
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.
$ lsb_release -a LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch Distributor ID: LinuxMint Description: Linux Mint 19 Tara Release: 19 Codename: tara
$ java --version java 11.0.1 2018-10-16 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
compile log $ ./gradlew shadowJar e: /home/lsl/github/EmmyLua-LanguageServer/EmmyLua-LS/src/main/kotlin/com/tang/vscode/LuaTextDocumentService.kt: (33, 47): Symbol is declared in module 'java.base' which does not export package 'sun.reflect.generics.reflectiveObjects' e: /home/lsl/github/EmmyLua-LanguageServer/EmmyLua-LS/src/main/kotlin/com/tang/vscode/LuaTextDocumentService.kt: (212, 15): Symbol is declared in module 'java.base' which does not export package 'sun.reflect.generics.reflectiveObjects' e: /home/lsl/github/EmmyLua-LanguageServer/EmmyLua-LS/src/main/kotlin/com/tang/vscode/LuaTextDocumentService.kt: (235, 15): Symbol is declared in module 'java.base' which does not export package 'sun.reflect.generics.reflectiveObjects' e: /home/lsl/github/EmmyLua-LanguageServer/EmmyLua-LS/src/main/kotlin/com/tang/vscode/LuaTextDocumentService.kt: (433, 15): Symbol is declared in module 'java.base' which does not export package 'sun.reflect.generics.reflectiveObjects'
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':EmmyLua-LS:compileKotlin'.
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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5s 6 actionable tasks: 1 executed, 5 up-to-date