Repository navigation
Give enro and enro-compat a source file on every target - #251
Merged
Merged
Conversation
Removing the Compose resources dependency left the enro module with no sources, because the generated Res class had been its only one. Kotlin/ Native produces no klib for a target without sources, so :enro:generateMetadataFileForIosArm64Publication failed and the module could not be published. enro-compat had the same problem on its non-Android targets. Each module now has an internal marker object in commonMain. The klib ABI dumps are regenerated: they gain a header and no declarations. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes a publishing failure introduced by #247. The release job would have failed at its publish step.
enromodule with no sources: the generatedResclass had been its only one.:enro:generateMetadataFileForIosArm64Publicationfailed withFileNotFoundException: enro-iosArm64Main-<version>.klib.enro-compathad the same problem on its non-Android targets.Each module now has an internal marker object in
commonMain. The klib ABI dumps for both are regenerated: they gain a header and no declarations.CI did not catch this because it compiles and tests but never runs a publish task.
Test plan
publishEnroLocalsucceeds (it failed onmain)publishToMavenLocalsucceeds for every publication, including js and wasmJscheckKotlinAbipassesenro,enro-uiandenro-compathave no material3, material-icons-extended, resources or ui-tooling dependencies;enro-compat-androidkeeps material; desktop POMs depend ondesktop-jvm, not an OS-specific artifact🤖 Generated with Claude Code