-
Notifications
You must be signed in to change notification settings - Fork 231
WIP: Gradle 5 and Java 11 support #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit updates the wrapper, but does not build correctly yet due to the way Kotlin compiler libraries are resolved. To address this issue, the previous mechanism of copying the dependent libraries into a local folder from which they are included has to be updated. Since depending on JAR files is non-ideal, a better solution would be to find the (correctly packaged) libraries on a Maven repository and include them.
Updates the Kotlin version of the language server to 1.3.3x
Updates the Gradle-TeamCity plugin to 0.19 for Gradle 5 support.
Adds the kotlin-scripting-compiler to the classpath since CliScriptDefinitionProvider has been moved to this package.
Updates the script (and script dependencies) provider to the most recent API. The issue that no declarators can be found for SCRIPT declarations persists however (this can be verified using the EditFunctionTest).
Unfortunately, support for Kotlin scripts is broken due to some breaking API changes in the script declaration resolver. For more details, see the commit message on 4df20d4. |
Is this still true for kotlin |
Gradle 5.6 introduces interpolated version strings in the 'plugins' block which make it easier to maintain the current Kotlin version in a single place.
Register a ScriptingCompilerConfigurationComponentRegistrar as described in https://youtrack.jetbrains.com/issue/KT-30679. In the LanguageServerTestFixture, output the memory usage after each test and format log messages to a single line.
Remove some unused dependencies.
I see this was merged, how do I build the server under 11? |
@casret Just as before, using |
This PR tracks support for Gradle 5 and Java 11.