mirror of https://github.com/grpc/grpc-java.git
Apply japicmp plugin explicitly when needed
This commit is contained in:
parent
3b29f74271
commit
e13221b503
|
|
@ -1,5 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "gRPC: Auth"
|
description = "gRPC: Auth"
|
||||||
|
|
|
||||||
22
build.gradle
22
build.gradle
|
|
@ -413,30 +413,10 @@ subprojects {
|
||||||
}
|
}
|
||||||
maxHeapSize = '1500m'
|
maxHeapSize = '1500m'
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Run with: ./gradlew japicmp --continue
|
// Run with: ./gradlew japicmp --continue
|
||||||
|
plugins.withId("me.champeau.gradle.japicmp") {
|
||||||
def baselineGrpcVersion = '1.6.1'
|
def baselineGrpcVersion = '1.6.1'
|
||||||
def publicApiSubprojects = [
|
|
||||||
// TODO: uncomment after grpc-alts, grpc-bom artifact is published.
|
|
||||||
// ':grpc-alts',
|
|
||||||
//':grpc-api',
|
|
||||||
':grpc-auth',
|
|
||||||
//':grpc-bom',
|
|
||||||
':grpc-context',
|
|
||||||
':grpc-core',
|
|
||||||
':grpc-grpclb',
|
|
||||||
':grpc-netty',
|
|
||||||
':grpc-okhttp',
|
|
||||||
':grpc-protobuf',
|
|
||||||
':grpc-protobuf-lite',
|
|
||||||
':grpc-stub',
|
|
||||||
':grpc-testing',
|
|
||||||
]
|
|
||||||
|
|
||||||
publicApiSubprojects.each { name ->
|
|
||||||
project(":$name") {
|
|
||||||
apply plugin: 'me.champeau.gradle.japicmp'
|
|
||||||
|
|
||||||
// Get the baseline version's jar for this subproject
|
// Get the baseline version's jar for this subproject
|
||||||
File baselineArtifact = null
|
File baselineArtifact = null
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
id "me.champeau.gradle.jmh"
|
id "me.champeau.gradle.jmh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
id "me.champeau.gradle.jmh"
|
id "me.champeau.gradle.jmh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "gRPC: GRPCLB LoadBalancer plugin"
|
description = "gRPC: GRPCLB LoadBalancer plugin"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
id "me.champeau.gradle.jmh"
|
id "me.champeau.gradle.jmh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "gRPC: OkHttp"
|
description = "gRPC: OkHttp"
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = 'gRPC: Protobuf Lite'
|
description = 'gRPC: Protobuf Lite'
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
id "com.google.protobuf"
|
id "com.google.protobuf"
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = 'gRPC: Protobuf'
|
description = 'gRPC: Protobuf'
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "gRPC: Stub"
|
description = "gRPC: Stub"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
|
||||||
|
id "me.champeau.gradle.japicmp"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "gRPC: Testing"
|
description = "gRPC: Testing"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue