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

refactor: decouple methods and add debug logging #510

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skhokhlov
Copy link
Contributor

No description provided.

@skhokhlov skhokhlov requested a review from a team as a code owner September 10, 2024 16:14
src/main/java/org/cyclonedx/gradle/CycloneDxTask.java Outdated Show resolved Hide resolved
getLogger().debug("Configuration [{}] skipped due to plugin configuration", configuration.getName());
return;
}
if (!configuration.isCanBeResolved()) {

Choose a reason for hiding this comment

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

Is there a difference between DependencyUtils.canBeResolved(configuration)) and configuration.isCanBeResolved()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

DependencyUtils.canBeResolved(configuration)) is using reflection to maintain compatibility with gradle v<3 https://github.com/CycloneDX/cyclonedx-gradle-plugin/blob/master/src/main/java/org/cyclonedx/gradle/utils/DependencyUtils.java#L40

Signed-off-by: skhokhlov <me@skhlv.nyc>
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