-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (57 loc) · 1.72 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
plugins {
id 'java'
id 'idea'
id 'com.google.protobuf' version '0.9.1'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
['armeria',
'armeria-grpc',
'armeria-graphql',
'armeria-logback',
'armeria-junit5'
].each {
implementation "com.linecorp.armeria:${it}:1.25.2"
}
implementation "io.micrometer:micrometer-registry-prometheus:1.11.0"
runtimeOnly "io.grpc:grpc-netty-shaded:1.52.1"
implementation "io.grpc:grpc-protobuf:1.52.1"
implementation "io.grpc:grpc-stub:1.52.1"
compileOnly "org.apache.tomcat:annotations-api:6.0.53" // necessary for Java 9+
implementation "io.projectreactor:reactor-core:3.5.2"
testImplementation "io.projectreactor:reactor-test:3.5.2"
implementation "org.reactivestreams:reactive-streams:1.0.4"
implementation "org.reactivestreams:reactive-streams-tck:1.0.4"
implementation "org.reactivestreams:reactive-streams-tck-flow:1.0.4"
implementation "org.reactivestreams:reactive-streams-examples:1.0.4"
implementation "ch.qos.logback:logback-classic:1.4.7"
implementation "org.slf4j:slf4j-api:2.0.7"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.8.1"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.8.1"
testImplementation "org.assertj:assertj-core:3.11.1"
}
protobuf {
protoc {
artifact = "com.google.protobuf:protoc:3.21.7"
}
plugins {
grpc {
artifact = 'io.grpc:protoc-gen-grpc-java:1.52.1'
}
}
generateProtoTasks {
all()*.plugins {
grpc {}
}
}
}
tasks.withType(JavaCompile) {
options.compilerArgs += '-parameters'
}
test {
useJUnitPlatform()
}