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

Leverage delayed property in Gradle extension plugin #25631

Merged
merged 2 commits into from
May 18, 2022

Conversation

glefloch
Copy link
Member

Similar to #25615 but for the extension plugin. This introduce both :

  • delayed property using Property / ListProperty
  • constructor injection in task

@glefloch glefloch requested a review from aloubyansky May 17, 2022 20:02
@quarkus-bot quarkus-bot bot added area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle labels May 17, 2022
@glefloch
Copy link
Member Author

/cc @sebersole

@quarkus-bot

This comment has been minimized.

@glefloch glefloch force-pushed the fix/delayed-property-extension branch from 39ec8d0 to 65eba5d Compare May 17, 2022 20:25
Copy link
Contributor

@sebersole sebersole left a comment

Choose a reason for hiding this comment

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

Looks great!

task.setClasspath(runtimeModuleClasspath);
});
ExtensionDescriptorTask.class, quarkusExt);
extensionDescriptorTask.configure(task -> {
Copy link
Contributor

Choose a reason for hiding this comment

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

You could even consider moving this into the ExtensionDescriptorTask constructor.

@glefloch glefloch force-pushed the fix/delayed-property-extension branch from 65eba5d to ad086f9 Compare May 17, 2022 20:36
@aloubyansky aloubyansky merged commit 850fbd9 into quarkusio:main May 18, 2022
@quarkus-bot quarkus-bot bot added this to the 2.10 - main milestone May 18, 2022
@glefloch glefloch deleted the fix/delayed-property-extension branch May 18, 2022 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants