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

47 lines
967 B
Groovy

plugins {
id 'application'
id 'java-library'
id 'maven-publish'
}
repositories {
mavenLocal()
mavenCentral()
}
group 'io.gitpod.api'
dependencies {
implementation 'com.google.protobuf:protobuf-java:3.19.1'
implementation 'com.google.protobuf:protobuf-java-util:3.19.1'
implementation 'com.google.api.grpc:proto-google-common-protos:2.2.2'
implementation 'io.grpc:grpc-core:1.41.0'
implementation 'io.grpc:grpc-protobuf:1.41.0'
implementation 'io.grpc:grpc-stub:1.41.0'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
runtimeOnly 'io.grpc:grpc-netty-shaded:1.41.0'
}
application {
mainClass = 'io.gitpod.supervisor.testclient.TestClient'
}
java {
withSourcesJar()
withJavadocJar()
}
compileJava {
sourceCompatibility = "11"
targetCompatibility = "11"
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}