Skip to content

Conversation

aSemy
Copy link
Contributor

@aSemy aSemy commented Jun 8, 2024

Update KMP POM re-writer to be CC compatible.

Instead of editing the POM in-memory, instead modify the POM file that the generatePomFileForKotlinMultiplatformPublication task produces.

Replace the Groovy XML utils with W3C Document classes, because the Groovy XML utils don't preserve comments.

I added a project-local Maven repository, for easier testing of the changes. Run ./gradlew publishAllPublicationsToRootBuildDirRepository and check build/maven-repo.

Relates to

aSemy added 5 commits June 8, 2024 13:54
Instead of editing the POM in-memory, instead modify the POM file that the `generatePomFileForKotlinMultiplatformPublication` task produces.

Replace the Groovy XML utils with W3C Document classes, because the Groovy XML utils don't preserve comments.
@aSemy aSemy marked this pull request as ready for review June 8, 2024 12:19
@aSemy aSemy changed the title Feat/refactor KMP POM rewriting Refactor KMP POM rewriting Jun 8, 2024
@Kantis
Copy link
Member

Kantis commented Jun 8, 2024

Nice work @aSemy 🚀

@aSemy
Copy link
Contributor Author

aSemy commented Jun 8, 2024

Thanks!

@Kantis Kantis added this pull request to the merge queue Jun 8, 2024
Merged via the queue into kotest:master with commit d4fc582 Jun 8, 2024
@aSemy aSemy deleted the feat/refactor-kmp-pom-rewriting branch June 8, 2024 20:41
@aSemy aSemy added the builds 🐘 PRs / Issues related to the CI/CD pipelines or Gradle builds label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds 🐘 PRs / Issues related to the CI/CD pipelines or Gradle builds
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants