Exclude internal subpackages too from japicmp (#3559)

This commit is contained in:
Anuraag Agrawal 2021-08-28 00:30:03 +09:00 committed by GitHub
parent 6ef3091cfb
commit 11864d4349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 24 deletions

View File

@ -72,8 +72,7 @@ if (!project.hasProperty("otel.release") && !project.name.startsWith("bom")) {
//this is needed so that we only consider the current artifact, and not dependencies
isIgnoreMissingClasses = true
// double wildcards don't seem to work here (*.internal.*)
packageExcludes = listOf("*.internal", "io.opentelemetry.internal.shaded.jctools.*")
packageExcludes = listOf("*.internal", "*.internal.*", "io.opentelemetry.internal.shaded.jctools.*")
val baseVersionString = if (apiBaseVersion == null) "latest" else baselineVersion
txtOutputFile = apiNewVersion?.let { file("$rootDir/docs/apidiffs/${apiNewVersion}_vs_${baselineVersion}/${base.archivesName.get()}.txt") }
?: file("$rootDir/docs/apidiffs/current_vs_${baseVersionString}/${base.archivesName.get()}.txt")

View File

@ -1,23 +1,2 @@
Comparing source compatibility of against
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.exporter.otlp.internal.grpc.GrpcStatusUtil (not serializable)
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
+++ NEW SUPERCLASS: java.lang.Object
+++ NEW METHOD: PUBLIC(+) STATIC(+) java.lang.String getStatusMessage(byte[])
+++ NEW EXCEPTION: java.io.IOException
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.exporter.otlp.internal.grpc.ManagedChannelUtil (not serializable)
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
+++ NEW SUPERCLASS: java.lang.Object
+++ NEW METHOD: PUBLIC(+) STATIC(+) void setTrustedCertificatesPem(io.grpc.ManagedChannelBuilder, byte[])
+++ NEW EXCEPTION: javax.net.ssl.SSLException
+++ NEW METHOD: PUBLIC(+) STATIC(+) io.opentelemetry.sdk.common.CompletableResultCode shutdownChannel(io.grpc.ManagedChannel)
+++ NEW CLASS: PUBLIC(+) FINAL(+) io.opentelemetry.exporter.otlp.internal.grpc.MarshalerInputStream (not serializable)
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a.
+++ NEW SUPERCLASS: java.io.InputStream
+++ NEW CONSTRUCTOR: PUBLIC(+) MarshalerInputStream(io.opentelemetry.exporter.otlp.internal.Marshaler)
+++ NEW METHOD: PUBLIC(+) int available()
+++ NEW METHOD: PUBLIC(+) int drainTo(java.io.OutputStream)
+++ NEW EXCEPTION: java.io.IOException
+++ NEW METHOD: PUBLIC(+) int read()
+++ NEW EXCEPTION: java.io.IOException
+++ NEW METHOD: PUBLIC(+) int read(byte[], int, int)
+++ NEW EXCEPTION: java.io.IOException
No changes.