Skip to content

Conversation

@snazy
Copy link
Member

@snazy snazy commented Jan 15, 2025

This change adds a polaris-quarkus build-plugin based on polaris-server. It has the specialties for Quarkus based projects, like the implicit intTest suite.

This has the nice side effect of not having an unused intTest test suite in every project, and removes a bunch of ifs.

This change adds a `polaris-quarkus` build-plugin based on `polaris-server`. It has the specialties for Quarkus based projects, like the implicit `intTest` suite.

This has the nice side effect of not having an unused `intTest` test suite in every project, and removes a bunch of `if`s.
targets.all {
if (testTask.name != "test") {
testTask.configure {
// For Quarkus...
Copy link
Contributor

@dimas-b dimas-b Jan 15, 2025

Choose a reason for hiding this comment

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

nit: "Quarkus" is already implied by the plugin name.

Copy link
Member Author

Choose a reason for hiding this comment

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

yea

alias(libs.plugins.quarkus)
alias(libs.plugins.jandex)
id("polaris-server")
id("polaris-quarkus")
Copy link
Contributor

Choose a reason for hiding this comment

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

Does "service" stuff have to depend on Quarkus?

Copy link
Member Author

Choose a reason for hiding this comment

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

It has the quarkus plugin, that's why

Copy link
Contributor

Choose a reason for hiding this comment

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

hmm... I need to read up on that code 😅

@snazy snazy requested a review from dimas-b January 15, 2025 18:56
@snazy snazy merged commit 867dda5 into apache:main Jan 15, 2025
5 checks passed
@snazy snazy deleted the pol-quark-bp branch January 15, 2025 19:26
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.

2 participants