Skip to content

Add popcorngp to the Project#63

Merged
gabrielbmoro merged 10 commits intomasterfrom
feature/add-popcorn-library
May 23, 2025
Merged

Add popcorngp to the Project#63
gabrielbmoro merged 10 commits intomasterfrom
feature/add-popcorn-library

Conversation

@gabrielbmoro
Copy link

Descrição

Add popcorngp into the project

Testes Realizados

./gradlew popcornParent

Checklist

  • Os testes foram executados e passaram com sucesso.
  • As alterações de código seguem as diretrizes de estilo do projeto.
  • Foram adicionados testes, se aplicável.
  • Se inscreveu no canal?😛

type = ProjectType.KMP

children = listOf(
PopcornChildConfiguration(
Copy link
Author

Choose a reason for hiding this comment

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

Core modules should not have internal dependencies

),
),
PopcornChildConfiguration(
moduleNameRegex = ":feature-[a-z]+",
Copy link
Author

Choose a reason for hiding this comment

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

Feature modules should not depend on another feature modules

),
),
),
)
Copy link
Author

Choose a reason for hiding this comment

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

@rviannaoliveira , is there any other rule we need to add?

We are in a good shape, popcorn is approving our architecture.

This commit refactors the PopcornPlugin configuration in `popcorngp-setup-plugin.gradle.kts`.

The following changes were made:

- Added new rules for `:core-shared-ui` to only depend on `:core-shared`.
- Added new rules for `:core-shared` to have no dependencies.
- Updated existing rules for feature modules to ensure they do not depend on each other.
@gabrielbmoro gabrielbmoro merged commit ced07bc into master May 23, 2025
3 checks passed
@gabrielbmoro gabrielbmoro deleted the feature/add-popcorn-library branch May 23, 2025 22:11
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.

2 participants