mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
41 lines
1003 B
Groovy
41 lines
1003 B
Groovy
plugins {
|
|
id 'bisq.java-conventions'
|
|
}
|
|
|
|
apply plugin: 'com.google.protobuf'
|
|
apply plugin: 'idea'
|
|
|
|
dependencies {
|
|
implementation enforcedPlatform(project(':platform'))
|
|
annotationProcessor libs.lombok
|
|
compileOnly libs.javax.annotation
|
|
compileOnly libs.lombok
|
|
implementation libs.logback.classic
|
|
implementation libs.logback.core
|
|
implementation libs.google.guava
|
|
implementation libs.protobuf.java
|
|
implementation libs.slf4j.api
|
|
implementation(libs.grpc.protobuf) {
|
|
exclude(module: 'animal-sniffer-annotations')
|
|
exclude(module: 'guava')
|
|
}
|
|
implementation(libs.grpc.stub) {
|
|
exclude(module: 'animal-sniffer-annotations')
|
|
exclude(module: 'guava')
|
|
}
|
|
}
|
|
|
|
protobuf {
|
|
protoc {
|
|
artifact = "com.google.protobuf:protoc:3.19.1"
|
|
}
|
|
plugins {
|
|
grpc {
|
|
artifact = "io.grpc:protoc-gen-grpc-java:1.42.1"
|
|
}
|
|
}
|
|
generateProtoTasks {
|
|
ofSourceSet('main')*.plugins { grpc {} }
|
|
}
|
|
}
|