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 {
|
||||
id "maven-publish"
|
||||
|
||||
id "me.champeau.gradle.japicmp"
|
||||
}
|
||||
|
||||
description = "gRPC: Auth"
|
||||
|
|
|
|||
26
build.gradle
26
build.gradle
|
|
@ -413,30 +413,10 @@ subprojects {
|
|||
}
|
||||
maxHeapSize = '1500m'
|
||||
}
|
||||
}
|
||||
|
||||
// Run with: ./gradlew japicmp --continue
|
||||
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'
|
||||
// Run with: ./gradlew japicmp --continue
|
||||
plugins.withId("me.champeau.gradle.japicmp") {
|
||||
def baselineGrpcVersion = '1.6.1'
|
||||
|
||||
// Get the baseline version's jar for this subproject
|
||||
File baselineArtifact = null
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
id "maven-publish"
|
||||
|
||||
id "me.champeau.gradle.japicmp"
|
||||
id "me.champeau.gradle.jmh"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
id "maven-publish"
|
||||
|
||||
id "me.champeau.gradle.japicmp"
|
||||
id "me.champeau.gradle.jmh"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ plugins {
|
|||
id "maven-publish"
|
||||
|
||||
id "com.google.protobuf"
|
||||
id "me.champeau.gradle.japicmp"
|
||||
}
|
||||
|
||||
description = "gRPC: GRPCLB LoadBalancer plugin"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
id "maven-publish"
|
||||
|
||||
id "me.champeau.gradle.japicmp"
|
||||
id "me.champeau.gradle.jmh"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
plugins {
|
||||
id "maven-publish"
|
||||
|
||||
id "me.champeau.gradle.japicmp"
|
||||
}
|
||||
|
||||
description = "gRPC: OkHttp"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ plugins {
|
|||
id "maven-publish"
|
||||
|
||||
id "com.google.protobuf"
|
||||
id "me.champeau.gradle.japicmp"
|
||||
}
|
||||
|
||||
description = 'gRPC: Protobuf Lite'
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ plugins {
|
|||
id "maven-publish"
|
||||
|
||||
id "com.google.protobuf"
|
||||
id "me.champeau.gradle.japicmp"
|
||||
}
|
||||
|
||||
description = 'gRPC: Protobuf'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
plugins {
|
||||
id "maven-publish"
|
||||
|
||||
id "me.champeau.gradle.japicmp"
|
||||
}
|
||||
|
||||
description = "gRPC: Stub"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
plugins {
|
||||
id "maven-publish"
|
||||
|
||||
id "me.champeau.gradle.japicmp"
|
||||
}
|
||||
|
||||
description = "gRPC: Testing"
|
||||
|
|
|
|||
Loading…
Reference in New Issue