Skip to content

Sample build JSON asset data #332

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

Merged
merged 3 commits into from
Mar 24, 2025
Merged

Conversation

shubham7109
Copy link
Collaborator

@shubham7109 shubham7109 commented Mar 17, 2025

Description

PR to address build files source code misleading android studio. The changes in this PR aims to not use local copied files, but instead maintain a JSON sample asset data with all (100) samples assets in a sampleAssets/samples.json:

{
   "sampleA": {
     "MainActivity.kt": "...content...",
     "README.md": "...content...",
     ...
   },
   "sampleB": {
      ...
   }
}
  • Note: Run a build clean before running the changes in this branch.

Links and Data

Sample Epic: #5467

@shubham7109 shubham7109 changed the title added sample viewer patch changes Sample build JSON asset data Mar 17, 2025
@shubham7109 shubham7109 self-assigned this Mar 17, 2025
@shubham7109 shubham7109 marked this pull request as ready for review March 17, 2025 18:01
Copy link
Collaborator

@TADraeseke TADraeseke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a really good solution @shubham7109 -- just a couple comments and questions. Thanks!

@shubham7109 shubham7109 requested a review from TADraeseke March 18, 2025 23:02
@shubham7109
Copy link
Collaborator Author

Thanks for the helpful feedback @TADraeseke. Ready for your review!

Copy link
Collaborator

@colinanderson colinanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shubham7109 I tried this out and it definitely seems to fix the problems 👍

@shubham7109 shubham7109 merged commit 00a24cd into v.next Mar 24, 2025
1 check passed
@shubham7109 shubham7109 deleted the shubham/sample-viewer-patches branch March 24, 2025 16:22
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.

3 participants