-
Notifications
You must be signed in to change notification settings - Fork 581
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
Use kotlin build.gradle in ComposeStarter #1146
Conversation
implementation(libs.androidx.splashscreen) | ||
|
||
// Compose for Wear OS Dependencies | ||
// NOTE: DO NOT INCLUDE a dependency on androidx.compose.material:material. |
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.
If we really believe this we should probably change this to a Lint?
Or fail the build if present. I can try the latter if you agree.
For follow up.
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.
Thanks that would be great!
implementation(libs.horologist.compose.material) | ||
|
||
// Preview Tooling | ||
implementation(libs.compose.ui.tooling.preview) |
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.
For follow up - these are confusing because name is truncated and missing "wear".
androidx-compose-ui-tooling = { module = "androidx.wear.compose:compose-ui-tooling", version.ref = "compose-ui-tooling" }
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.
Happy to address in another PR and apply to all samples, what about something like androidx-wear-compose-ui-tooling
?
Thanks @yschimke for the review! I just added also https://github.com/android/wear-os-samples/pull/1146/files#diff-97720b8076bde3b9c20d2082ff624094b85cf52190de2198cde1d981198e75b4R16, can you PTAL? |
Migrate guild files from Groovy to Kotlin in ComposeStarter.
Partially fixes #1134