Anton Kosyakov 615e8a0bbc fixing JB backend plugin
- remove dependencies, since JB backend already has Kotling dependencies, and adding other version leads to runtime incompatibilities
- fix memory leak of grpc message channels
- use Kotlin koroutines instead of dedicated thread for heartbeating
- implement web socket reconnection handling for Gitpod server connection
- pin java target to v.11 in all projects
2022-01-27 10:15:19 +01:00

42 lines
898 B
Groovy

plugins {
id 'application'
id 'java-library'
id 'maven-publish'
}
repositories {
mavenCentral()
}
group 'io.gitpod.api'
version '1.0-SNAPSHOT'
dependencies {
implementation group: 'org.eclipse.lsp4j', name: 'org.eclipse.lsp4j.jsonrpc', version: '0.12.0'
implementation group: 'org.eclipse.lsp4j', name: 'org.eclipse.lsp4j.websocket', version: '0.12.0'
compileOnly group: 'javax.websocket', name: 'javax.websocket-api', version: '1.1'
implementation("org.eclipse.jetty.websocket:javax-websocket-client-impl:9.4.44.v20210927")
}
application {
mainClass = 'io.gitpod.gitpodprotocol.testclient.TestClient'
}
java {
withSourcesJar()
withJavadocJar()
}
compileJava {
sourceCompatibility = "11"
targetCompatibility = "11"
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}