-
Notifications
You must be signed in to change notification settings - Fork 112
Update oss-licenses-android to v0.7.0 #2524
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
- Update oss-licenses-android from 0.5.0 to 0.7.0 - Replace JitPack dependencies with Maven Central artifacts - Simplify manifest configuration for license activity
| <action android:name="com.google.wear.ACTION_SHOW_LICENSE" /> | ||
| <category android:name="android.intent.category.DEFAULT" /> | ||
| </intent-filter> | ||
| tools:node="merge"> |
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.
Should we just drop this instead?
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.
Yes, you're right. The explicit tools:node="merge" specification was unnecessary.
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.
I've pushed a fix commit (6a4769b).
yschimke
left a comment
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.
pending one comment
|
Thank you for the review! I'll push the fixes soon. |
- Remove redundant tools:node="merge" from `WearableOssLicensesActivity` declaration - Use self-closing tag for `WearableOssLicensesActivity`
| <category android:name="android.intent.category.DEFAULT" /> | ||
| </intent-filter> | ||
| </activity> | ||
| android:name="com.github.droibit.oss_licenses.ui.wear.compose.material.WearableOssLicensesActivity" |
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.
Sorry, I meant the whole activity. Isn't there a default one from the library?
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.
Ah, my mistake! Yes, The WearableOssLicensesActivity declaration can be removed.
I'll push another fix right away!
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.
I've pushed a fix commit (6849ac8).
Use the default `WearableOssLicensesActivity` provided by oss-licenses-android library instead of declaring it explicitly in AndroidManifest.xml.
WHAT
Updated the dependency oss-licenses-android to the latest version v0.7.0.
This update includes switching the library distribution from JitPack to Maven Central, which resolves the following issue:
WHY
Due to the above changes, the groupId in the artifacts has been changed, so I manually updated the dependencies to reflect this change.
HOW
Checklist 📋