mirror of https://github.com/grpc/grpc-java.git
31 lines
644 B
Groovy
31 lines
644 B
Groovy
plugins {
|
|
id "java-library"
|
|
id "maven-publish"
|
|
|
|
id "com.google.protobuf"
|
|
id "ru.vyarus.animalsniffer"
|
|
}
|
|
|
|
description = "gRPC: Testing Protos"
|
|
|
|
tasks.named("jar").configure {
|
|
manifest {
|
|
attributes('Automatic-Module-Name': 'io.grpc.testing.protobuf')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api project(':grpc-protobuf'),
|
|
project(':grpc-stub')
|
|
compileOnly libraries.javax.annotation
|
|
testImplementation libraries.truth
|
|
testRuntimeOnly libraries.javax.annotation
|
|
signature (libraries.signature.java) {
|
|
artifact {
|
|
extension = "signature"
|
|
}
|
|
}
|
|
}
|
|
|
|
configureProtoCompilation()
|