mirror of https://github.com/grpc/grpc-java.git
all: publish grpc-rls
Making `io.grpc:grpc-rls` a maven artifact from next release.
This commit is contained in:
parent
cb3317b1fd
commit
23bb2ebf31
|
|
@ -32,7 +32,7 @@ for (subproject in rootProject.subprojects) {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api subprojects.minus([project(':grpc-protobuf-lite'), project(':grpc-rls')])
|
api subprojects.minus([project(':grpc-protobuf-lite')])
|
||||||
}
|
}
|
||||||
|
|
||||||
javadoc {
|
javadoc {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ publishing {
|
||||||
|
|
||||||
pom.withXml {
|
pom.withXml {
|
||||||
// Generate bom using subprojects
|
// Generate bom using subprojects
|
||||||
def internalProjects = [project.name, 'grpc-gae-interop-testing-jdk8', 'grpc-compiler', 'grpc-rls']
|
def internalProjects = [project.name, 'grpc-gae-interop-testing-jdk8', 'grpc-compiler']
|
||||||
|
|
||||||
def dependencyManagement = asNode().appendNode('dependencyManagement')
|
def dependencyManagement = asNode().appendNode('dependencyManagement')
|
||||||
def dependencies = dependencyManagement.appendNode('dependencies')
|
def dependencies = dependencyManagement.appendNode('dependencies')
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
id "jacoco"
|
id "jacoco"
|
||||||
|
id "ru.vyarus.animalsniffer"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "gRPC: RouteLookupService Loadbalancing plugin"
|
description = "gRPC: RouteLookupService Loadbalancing plugin"
|
||||||
|
|
@ -19,12 +20,15 @@ dependencies {
|
||||||
project(':grpc-testing'),
|
project(':grpc-testing'),
|
||||||
project(':grpc-testing-proto'),
|
project(':grpc-testing-proto'),
|
||||||
project(':grpc-core').sourceSets.test.output // for FakeClock
|
project(':grpc-core').sourceSets.test.output // for FakeClock
|
||||||
|
signature "org.codehaus.mojo.signature:java17:1.0@signature"
|
||||||
}
|
}
|
||||||
|
|
||||||
javadoc {
|
javadoc {
|
||||||
|
// Do not publish javadoc since currently there is no public API.
|
||||||
|
failOnError false // no public or protected classes found to document
|
||||||
|
exclude 'io/grpc/lookup/v1/**'
|
||||||
exclude 'io/grpc/rls/internal/**'
|
exclude 'io/grpc/rls/internal/**'
|
||||||
// do not publish javadoc since it is not published yet
|
exclude 'io/grpc/rls/Internal*'
|
||||||
exclude 'io/grpc/rls/**'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jacocoTestReport {
|
jacocoTestReport {
|
||||||
|
|
@ -34,6 +38,3 @@ jacocoTestReport {
|
||||||
}
|
}
|
||||||
|
|
||||||
configureProtoCompilation()
|
configureProtoCompilation()
|
||||||
|
|
||||||
// do not publish 'grpc-rls'
|
|
||||||
[publishMavenPublicationToMavenRepository]*.onlyIf { false }
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue