forked from eclipse-vertx/vertx-grpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (42 loc) · 1.27 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
plugins {
id 'java'
id 'maven-publish'
}
allprojects {
group = 'io.vertx'
version = vertxVersion
apply plugin: 'java'
apply plugin: 'maven-publish'
repositories {
mavenCentral()
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}
subprojects {
dependencies {
implementation "io.vertx:vertx-codegen:$vertxVersion"
implementation "io.vertx:vertx-docgen:3.5.1"
testImplementation "junit:junit:4.13.1"
testImplementation "io.vertx:vertx-core:$vertxVersion:tests"
implementation "io.vertx:vertx-core:$vertxVersion"
implementation("io.grpc:grpc-core:$grpcIoVersion") {
exclude group: 'com.google.guava', module: 'guava'
}
implementation("io.grpc:grpc-protobuf:$grpcIoVersion") {
exclude group: 'com.google.guava', module: 'guava'
}
implementation("io.grpc:grpc-stub:$grpcIoVersion") {
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
}
implementation("io.grpc:grpc-api:$grpcIoVersion") {
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
exclude group: 'org.codehaus.mojo', module: 'animal-sniffer-annotations'
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}