-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Register generated output dir for kotlin gradle plugin #13569
Conversation
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.
Thanks @glefloch
@michalszynkiewicz do you think you could have a look ? |
@@ -29,6 +29,7 @@ | |||
|
|||
public static final String QUARKUS_GENERATED_SOURCES = "quarkus-generated-sources"; | |||
public static final String QUARKUS_TEST_GENERATED_SOURCES = "quarkus-test-generated-sources"; | |||
public static final String[] CODE_GENERATION_PROVIDER = new String[] { "grpc" }; |
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.
could you add a TODO
to get this list dynamically (if it's not easy enough to just do it ;) )?
@glefloch I added one comment. It would be great if the list could be "not hardcoded". |
But it could be done in a separate change. |
7800c2e
to
c0deb5f
Compare
20174a2
to
cd89070
Compare
It looks like when no
src/main/java
is present, the kotlin task does not trigger thecompileJava
.This register the
build/classes/java/quarkus-generated-sources/grpc
directory in the main sourceset (it does the same thing for tests).The only thing that I don't like, is that I cannot load the provider name (e.g. grpc) dynamically has done in the extension.
Also, I re enabled the
KotlinGRPCProjectBuildTest
, it pass on my machine and on the Release build Test job on my fork.close #12874