-
Notifications
You must be signed in to change notification settings - Fork 103
remove uikit target in favor of ios
#2545
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
base: jb-main
Are you sure you want to change the base?
Conversation
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.
Please align file-naming. It should be *.ios.kt now (on AOSP it's enforced by tooling)
|
|
||
| companion object { | ||
|
|
||
| const val DEFAULT = "DEFAULT" |
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.
What's default actually means here?
| tasks.register("testUIKit") { | ||
| val suffix = if (System.getProperty("os.arch") == "aarch64") "SimArm64Test" else "X64Test" | ||
| val uikitTestSubtaskName = "uikit$suffix" | ||
| tasks.register("testIos") { |
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.
Probably requires CI update to correctly run tests
| ComposeComponent( | ||
| ":compose:ui:ui-uikit", | ||
| supportedPlatforms = ComposePlatforms.UI_KIT | ||
| supportedPlatforms = ComposePlatforms.IOS |
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.
Is it compatiable change? Will transitive dependencies pickup new name?
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.
Theoretically it should be compatible as Gradle only looks for the target type, not name. But we should check that.
@shishkin-pavel, we should check if it is compatible on:
- the wizard project
- the wizard project + a library which has ios target with
-ios*suffix - the wizard project + a library which has ios target with
-uikit*suffix
simplify build by unifying targets
Testing
snapshot build
Release Notes
N/A