mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
47 lines
968 B
Groovy
47 lines
968 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.49.0'
|
|
implementation 'io.grpc:grpc-protobuf:1.49.0'
|
|
implementation 'io.grpc:grpc-stub:1.49.0'
|
|
implementation 'javax.annotation:javax.annotation-api:1.3.2'
|
|
|
|
runtimeOnly 'io.grpc:grpc-netty-shaded:1.41.0'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'io.gitpod.ide-metrics.testclient.TestClient'
|
|
}
|
|
|
|
java {
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
|
|
compileJava {
|
|
sourceCompatibility = "11"
|
|
targetCompatibility = "11"
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
mavenJava(MavenPublication) {
|
|
from components.java
|
|
}
|
|
}
|
|
}
|