mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
- 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
42 lines
898 B
Groovy
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
|
|
}
|
|
}
|
|
}
|