mirror of https://github.com/grpc/grpc-java.git
Apply maven-publish plugin explicitly when needed
This commit is contained in:
parent
55ac6f08af
commit
5b838e5284
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.github.kt3k.coveralls"
|
id "com.github.kt3k.coveralls"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.github.johnrengelman.shadow"
|
id "com.github.johnrengelman.shadow"
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "me.champeau.gradle.jmh"
|
id "me.champeau.gradle.jmh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
}
|
||||||
|
|
||||||
description = "gRPC: Auth"
|
description = "gRPC: Auth"
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':grpc-api'),
|
compile project(':grpc-api'),
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "application"
|
id "application"
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
id "me.champeau.gradle.jmh"
|
id "me.champeau.gradle.jmh"
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
}
|
||||||
|
|
||||||
description = 'gRPC: BOM'
|
description = 'gRPC: BOM'
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|
|
@ -11,7 +11,6 @@ subprojects {
|
||||||
apply plugin: "checkstyle"
|
apply plugin: "checkstyle"
|
||||||
apply plugin: "java"
|
apply plugin: "java"
|
||||||
apply plugin: "maven"
|
apply plugin: "maven"
|
||||||
apply plugin: "maven-publish"
|
|
||||||
apply plugin: "idea"
|
apply plugin: "idea"
|
||||||
apply plugin: "signing"
|
apply plugin: "signing"
|
||||||
apply plugin: "jacoco"
|
apply plugin: "jacoco"
|
||||||
|
@ -305,6 +304,7 @@ subprojects {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins.withId("maven-publish") {
|
||||||
task javadocJar(type: Jar) {
|
task javadocJar(type: Jar) {
|
||||||
classifier = 'javadoc'
|
classifier = 'javadoc'
|
||||||
from javadoc
|
from javadoc
|
||||||
|
@ -405,9 +405,6 @@ subprojects {
|
||||||
required false
|
required false
|
||||||
sign publishing.publications.maven
|
sign publishing.publications.maven
|
||||||
}
|
}
|
||||||
|
|
||||||
[publishMavenPublicationToMavenRepository, publishMavenPublicationToMavenLocal]*.onlyIf {
|
|
||||||
!name.contains("grpc-gae-interop-testing") && !name.contains("grpc-xds")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// At a test failure, log the stack trace to the console so that we don't
|
// At a test failure, log the stack trace to the console so that we don't
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "cpp"
|
id "cpp"
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "me.champeau.gradle.jmh"
|
id "me.champeau.gradle.jmh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "me.champeau.gradle.jmh"
|
id "me.champeau.gradle.jmh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "application"
|
id "application"
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "me.champeau.gradle.jmh"
|
id "me.champeau.gradle.jmh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.github.johnrengelman.shadow"
|
id "com.github.johnrengelman.shadow"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
}
|
||||||
|
|
||||||
description = "gRPC: OkHttp"
|
description = "gRPC: OkHttp"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
}
|
||||||
|
|
||||||
description = "gRPC: Stub"
|
description = "gRPC: Stub"
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':grpc-api')
|
compile project(':grpc-api')
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
}
|
||||||
|
|
||||||
description = "gRPC: Testing"
|
description = "gRPC: Testing"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.github.johnrengelman.shadow"
|
id "com.github.johnrengelman.shadow"
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
}
|
}
|
||||||
|
@ -68,3 +70,4 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
[publishMavenPublicationToMavenRepository, publishMavenPublicationToMavenLocal]*.onlyIf { false }
|
||||||
|
|
Loading…
Reference in New Issue