-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
37 lines (32 loc) · 833 Bytes
/
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
plugins {
id 'java'
id 'application'
id 'com.google.protobuf'
}
sourceCompatibility = 1.8
mainClassName = 'example.service.letter2.Main'
dependencies {
protobuf project(':letter-service-idl')
implementation "com.netifi:netifi-broker-client"
implementation "com.google.protobuf:protobuf-java"
implementation "org.apache.logging.log4j:log4j-api"
implementation "org.apache.logging.log4j:log4j-core"
implementation "org.apache.logging.log4j:log4j-slf4j18-impl"
}
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc'
}
plugins {
rsocketRpc {
artifact = 'io.rsocket.rpc:rsocket-rpc-protobuf'
}
}
generateProtoTasks {
all().each { task ->
task.plugins {
rsocketRpc {}
}
}
}
}