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

added test section and updates to reflect plugin changes #1586

Merged
merged 1 commit into from
Mar 20, 2019

Conversation

stalep
Copy link
Member

@stalep stalep commented Mar 20, 2019

Hopefully this makes it easier to start with Gradle on Quarkus. It should address #1458. Built from master + #1583 I can successfully run the getting-started QuarkusTests from the CLI and Intellij.

@stalep stalep requested a review from gsmet March 20, 2019 08:38
@stalep stalep added this to the 0.12.0 milestone Mar 20, 2019
Copy link
Member

@cescoffier cescoffier left a comment

Choose a reason for hiding this comment

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

Just a few comments.

}
----

<1> The {project-name} plugin needs to be applied.
<2> This dependency is needed for a REST application similar to the getting started example.
Since {project-name} has no container we also need this dependency for running tests, to provide this we use the `implementation` configuration.
Copy link
Member

Choose a reason for hiding this comment

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

container is misleading here. Maybe you can simplify as:
The second dependency is used for running our tests. The test framework starts the servers automatically.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hm, it's both for tests and compile, it's the closest thing we get to provided in Gradle. My thought was to explain why we use the implementation configuration. The main reason is that we need it both for the compile and test. I see that the wording isn't great....
How about: " Quarkus also need this dependency for running tests etc..." ?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, like this.

docs/src/main/asciidoc/gradle-tooling.adoc Show resolved Hide resolved
@stalep stalep merged commit 78866fd into quarkusio:master Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants