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

enable gradle grpc devmode test #10906

Merged
merged 1 commit into from
Jul 23, 2020
Merged

Conversation

glefloch
Copy link
Member

This branch enable quarkusPrepare task as a dependency of quarkusDev. The only error was due to a missing dependency in a test.
Making quarkusPrepare instead of quarkusDev depends on the task in charge of publishing that dependency locally, fix the test.

close #10631

@@ -19,11 +19,11 @@ test {
forkEvery 1
}

quarkusDev {
quarkusPrepare {
Copy link
Member

@michalszynkiewicz michalszynkiewicz Jul 22, 2020

Choose a reason for hiding this comment

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

@glefloch could you explain to me what this change does?

Copy link
Member Author

@glefloch glefloch Jul 22, 2020

Choose a reason for hiding this comment

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

before we were specifying that quarkusDev must be run after the publish (or install) of the runtime and deployment module of this project.
Since quarkusPrepare is run before quarkusDev but needs these dependencies to build the AppModel, I change this to make the quarkusPrepare depends on the publish of the required module (which are not always dependencies like for the deploymentmodule)

Copy link
Member

Choose a reason for hiding this comment

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

makes sense, thanks!

@gastaldi gastaldi added this to the 1.7.0 - master milestone Jul 23, 2020
@gastaldi gastaldi merged commit 100bc39 into quarkusio:master Jul 23, 2020
@michalszynkiewicz
Copy link
Member

thanks a lot @glefloch !

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.

Code gen/gRPC reload enhancements for Gradle
4 participants