Skip to content

Fix gradle warning about processing duplicate kotlin module files - #1268

Merged
jaydeluca merged 1 commit into
open-telemetry:mainfrom
laurit:gradle-kotlin-module-warning
Sep 2, 2026
Merged

Fix gradle warning about processing duplicate kotlin module files#1268
jaydeluca merged 1 commit into
open-telemetry:mainfrom
laurit:gradle-kotlin-module-warning

Conversation

@laurit

@laurit laurit commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

'META-INF/okhttp.kotlin_module' is matched by com.github.jengelman.gradle.plugins.shadow.transformers.KotlinModuleMetadataTransformer_Decorated but its DuplicatesStrategy is EXCLUDE — duplicates may be silently dropped before the transformer processes them.
Set it to INCLUDE or WARN to ensure all duplicates are processed by the transformer.

also fixes warning about merging service files

'META-INF/services/io.grpc.LoadBalancerProvider' is matched by com.github.jengelman.gradle.plugins.shadow.transformers.ServiceFileTransformer but its DuplicatesStrategy is EXCLUDE — duplicates may be silently dropped before the transformer processes them.
Set it to INCLUDE or WARN to ensure all duplicates are processed by the transformer.

@laurit
laurit requested review from a team as code owners September 2, 2026 05:46
@jaydeluca
jaydeluca merged commit cd89811 into open-telemetry:main Sep 2, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants