Apply japicmp plugin explicitly when needed

This commit is contained in:
Eric Anderson 2019-09-07 10:23:23 -07:00
parent 3b29f74271
commit e13221b503
11 changed files with 17 additions and 23 deletions

View File

@ -1,5 +1,7 @@
plugins {
id "maven-publish"
id "me.champeau.gradle.japicmp"
}
description = "gRPC: Auth"

View File

@ -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

View File

@ -1,6 +1,7 @@
plugins {
id "maven-publish"
id "me.champeau.gradle.japicmp"
id "me.champeau.gradle.jmh"
}

View File

@ -1,6 +1,7 @@
plugins {
id "maven-publish"
id "me.champeau.gradle.japicmp"
id "me.champeau.gradle.jmh"
}

View File

@ -2,6 +2,7 @@ plugins {
id "maven-publish"
id "com.google.protobuf"
id "me.champeau.gradle.japicmp"
}
description = "gRPC: GRPCLB LoadBalancer plugin"

View File

@ -1,6 +1,7 @@
plugins {
id "maven-publish"
id "me.champeau.gradle.japicmp"
id "me.champeau.gradle.jmh"
}

View File

@ -1,5 +1,7 @@
plugins {
id "maven-publish"
id "me.champeau.gradle.japicmp"
}
description = "gRPC: OkHttp"

View File

@ -2,6 +2,7 @@ plugins {
id "maven-publish"
id "com.google.protobuf"
id "me.champeau.gradle.japicmp"
}
description = 'gRPC: Protobuf Lite'

View File

@ -2,6 +2,7 @@ plugins {
id "maven-publish"
id "com.google.protobuf"
id "me.champeau.gradle.japicmp"
}
description = 'gRPC: Protobuf'

View File

@ -1,5 +1,7 @@
plugins {
id "maven-publish"
id "me.champeau.gradle.japicmp"
}
description = "gRPC: Stub"

View File

@ -1,5 +1,7 @@
plugins {
id "maven-publish"
id "me.champeau.gradle.japicmp"
}
description = "gRPC: Testing"