-
Notifications
You must be signed in to change notification settings - Fork 7
Clean up the K2 build config #135
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
Conversation
Set LV to 2.1, and restore the 1.8 JVM target.
2aaf180
to
36f80c8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #135 +/- ##
============================================
- Coverage 85.10% 84.82% -0.29%
+ Complexity 219 218 -1
============================================
Files 29 29
Lines 658 659 +1
Branches 117 117
============================================
- Hits 560 559 -1
- Misses 69 71 +2
Partials 29 29
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
watchosDeviceArm64() | ||
|
||
// Deprecated. | ||
// Should follow the same route as official Kotlin libraries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WDYM by the same route? Sorry, I'm not keeping up with the recent context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@petertrr basically we should stick to what kotlinx libs do: build for all targets, even if deprecated.
Once (and if) it will get removed, we'll delete that line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thanks for the clarification!
KotlinVersion.KOTLIN_2_1
: this means we're effectively compiling with K2JvmTarget.JVM_1_8
: no real reason to bump it to 11 imo, but in case let me know the rationalekotlin.native.enableKlibsCrossCompilation
@petertrr you can also refactor the publishing step to publish everything in one go now.