plugins { id "java" id "maven-publish" id "com.google.protobuf" id "ru.vyarus.animalsniffer" } description = "gRPC: Services" [compileJava].each() { // v1alpha of reflection.proto is deprecated at the file level. // Without this workaround, the project can not compile. it.options.compilerArgs += [ "-Xlint:-deprecation", ] } evaluationDependsOn(project(':grpc-core').path) dependencies { compile project(':grpc-protobuf'), project(':grpc-stub'), project(':grpc-core') compile (libraries.protobuf_util) { // prefer our own versions instead of protobuf-util's dependency exclude group: 'com.google.guava', module: 'guava' exclude group: 'com.google.errorprone', module: 'error_prone_annotations' } compileOnly libraries.javax_annotation testCompile project(':grpc-testing'), libraries.netty_epoll, // for DomainSocketAddress project(':grpc-core').sourceSets.test.output // for FakeClock testCompileOnly libraries.javax_annotation signature "org.codehaus.mojo.signature:java17:1.0@signature" } configureProtoCompilation()