The sharing of code from the shared module in kotlin-language-server started failing roughly at the time we set up Kotlin DSL there. (issue: #74). This PR makes it possible to use the latest shared module again.
Probably not perfect, but seems to create the necessary artifacts (i.e, zip file and executables).
About the inclusion of the exposed dependencies:
If we don't add this, while still using newest kotlin-language-server:shared, we get the following error:
e: file:///Users/marie/Programming/Kotlin/kotlin-debug-adapter/adapter/src/main/kotlin/org/javacs/ktda/classpath/DebugClassPathResolver.kt:10:2 Cannot access class 'org.jetbrains.exposed.sql.Database'. Check your module classpath for missing or conflicting dependencies
Adding the dependencies fixes the issue. We should find a way to avoid adding them here, as the versions might deviate between this project and kotlin-language-server. It seems like the shared module don't read the versions from its platform module when importing it like we do in this project. We might start by looking into that.
The sharing of code from the shared module in kotlin-language-server started failing roughly at the time we set up Kotlin DSL there. (issue: #74). This PR makes it possible to use the latest shared module again.
Probably not perfect, but seems to create the necessary artifacts (i.e, zip file and executables).
About the inclusion of the exposed dependencies: If we don't add this, while still using newest kotlin-language-server:shared, we get the following error:
Adding the dependencies fixes the issue. We should find a way to avoid adding them here, as the versions might deviate between this project and kotlin-language-server. It seems like the shared module don't read the versions from its platform module when importing it like we do in this project. We might start by looking into that.