Skip to content

Refactor: Move examples to a more accessible location (#2552)#2736

Open
imshubham22apr-gif wants to merge 1 commit into
hiero-ledger:mainfrom
imshubham22apr-gif:fix/issue-2552-move-examples
Open

Refactor: Move examples to a more accessible location (#2552)#2736
imshubham22apr-gif wants to merge 1 commit into
hiero-ledger:mainfrom
imshubham22apr-gif:fix/issue-2552-move-examples

Conversation

@imshubham22apr-gif

Copy link
Copy Markdown
Contributor

Refactor the directory and package structure of the examples module to improve discoverability and reduce nesting depth.

Move example source files from com.hedera.hashgraph.sdk.examples to a flattened examples package.
Update package declarations in all moved .java files to match the new directory structure.
Update module-info.java to rename the module to examples.
Refactor examples/build.gradle.kts to correctly reference the new package and module for mainClass and mainModule properties.
Related issue(s):

Fixes #2552

Notes for reviewer: The nesting depth has been reduced from 5 levels to 1 level within src/main/java. All internal Gradle tasks for running examples have been updated and verified to point to the new locations.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 161 complexity

Metric Results
Complexity 161

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@mustafauzunn

Copy link
Copy Markdown
Contributor

Commits are not signed

)

Signed-off-by: imshubham22apr-gif <imshubham.22apr@gmail.com>
@imshubham22apr-gif imshubham22apr-gif force-pushed the fix/issue-2552-move-examples branch from a818678 to 6513ec6 Compare May 14, 2026 07:03
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.

Move Examples

2 participants