Skip to content
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

Let the user ignore automatic dependencies #869

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

melix
Copy link
Collaborator

@melix melix commented Nov 14, 2023

In some circumstances, automatic dependencies can get in the way. This should be rare but there was no built-in mechanism to ignore such dependencies. It is now possible to list these using the micronaut extension, for example:

micronaut {
    ignoredAutomaticDependencies.add("io.micronaut.data:micronaut-data-processor")
}

The responsibility of adding these is then shifted to the user.

Fixes micronaut-projects/micronaut-sql#1157

In some circumstances, automatic dependencies can get in the way. This
should be rare but there was no built-in mechanism to ignore such
dependencies. It is now possible to list these using the `micronaut`
extension, for example:

```
micronaut {
    ignoredAutomaticDependencies.add("io.micronaut.data:micronaut-data-processor")
}
```

The responsibility of adding these is then shifted to the user.

Fixes micronaut-projects/micronaut-sql#1157
@melix melix added the type: enhancement New feature or request label Nov 14, 2023
@melix melix added this to the 4.2.0 milestone Nov 14, 2023
@melix melix self-assigned this Nov 14, 2023
Copy link

sonarcloud bot commented Nov 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sdelamo sdelamo merged commit 78058d7 into master Nov 14, 2023
8 checks passed
@sdelamo sdelamo deleted the cc/disable-auto-dependencies branch November 14, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Micronaut SQL JPA requires Micronaut Data Model dependency
3 participants