-
Notifications
You must be signed in to change notification settings - Fork 20
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
Created a metadata rule to replace composed-jar attribute by jar. #802
Created a metadata rule to replace composed-jar attribute by jar. #802
Conversation
82aedc1
to
0a7e6dc
Compare
// } | ||
// } | ||
// } | ||
//} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created two versions, feel free to use whatever you like.
0a7e6dc
to
0ebf24f
Compare
Quality Gate passedIssues Measures |
} | ||
} | ||
} | ||
|
||
implementation( | ||
"com.redhat.devtools.intellij:intellij-common:${intellijCommonVersion}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed another api which might work you can try:
implementation("com.redhat.devtools.intellij:intellij-common:${intellijCommonVersion}") {
attributes {
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named("composed-jar"))
}
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested it in a different PR where I needed this: df398b4 Works super nicely. I'll add you as co-author to my PR. Thanks!
@AlexanderBartash whoo thanks for the PR ! |
Using this in df398b4. Closing this PR. |
No description provided.