-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Allow multiple source directories for Gradle. #5540
Conversation
Hi, Can you please rebase onto master to pick up a fix for CI? Thanks |
@geoand done. Let's see the CI. |
@geoand Looks like some ordering problem in Microprofile TCK tests. Not from Quarkus side. |
For future reference, we are seeing:
@kenfinnigan @objectiser any idea? |
I think the order is important, as it implies the spans were collected in a different sequence |
I restarted the failing test, let's see what happens |
Test failure seems to be unrelated (##5569) |
@geoand I reran. It's fine now. |
@aloubyansky @gastaldi mind taking a look please? |
@geoand BTW. After say it is merged, is this going to be in snapshot repo as |
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.
@soberich everything build locally uses |
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.
LGTM, as @aloubyansky mentioned, it would be nice to have some tests too
@gastaldi I thought we didn't have any Gradle ITs anyway? Or did the situation change? |
@gsmet you're right, we need to add some and change the pom.xml to build using Gradle instead |
So, given we don't have any tests, did someone try this manually and confirm it's working as advertised. If so let's merge. The bad Gradle testing situation shouldn't block this PR. |
I'll hopefully try this over the weekend |
@geoand I let you merge once you checked it. |
…or multi-module projects required multiple directories as sourceDir.
It doesn't work. The approach taken by Quarkus plugin hardly fits in Gradle integration. In many cases Gradle will have multiple dirs in sources, classes, resources, etc in project layout.
aslo |
I tested it with a generated and it works great. Thanks a lot @soberich! As for your comment above about the re-write, I'll ping @aloubyansky and @maxandersen so they can have that in mind for the future plans |
@geoand It does cover a bunch of cases but definitely not all of them. I want to open another PR because locally I already started something. I am not sure how fast would it go. Is this ok? |
Actually, I am not sure we should've merge it.
uberJar is null and unboxing throws.
|
Kotlin, annotation processors and/or multi-module projects required multiple directories as sourceDir.
Fixes #5539