Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate code to Kotlin Multiplatform #67

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

aSemy
Copy link
Contributor

@aSemy aSemy commented Sep 29, 2024

This is the final PR that implements Kotlin Multiplatform support

Fix #57

TODO

  • Some tests only pass on JVM. There's some strange behaviour with the assertEquals() on some elements.

Depends on

aSemy added 12 commits April 7, 2024 17:07
- Gradle 8.7
- create convention plugins
- add gradle.properties, enable build cache, config cache
- simplify some build logic (e.g. sources jar)
- replace JUnit test Kotlin Test
- replace Apache utils with custom implementations
- improve reflection check and test
- disable ktlint, because it complains about import order, which is determined by IntelliJ and I can't modify it. Annoying!
- Split XML parsing into `XmlParse.kt` (because it uses JVM specific code).
- Rename tests (JS doesn't support spaces in names).
- Create a Gradle task for generating code to access test results in commonTest (KMP doesn't have a built-in way of accessing resources.)

WIP: need to fix tests
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.

Multiplatform support
1 participant