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

Add ability to set extension capability from gradle plugin #24034

Merged

Conversation

glefloch
Copy link
Member

@glefloch glefloch commented Mar 1, 2022

This adds the ability to set capabilities from within the gradle extension plugin.

Capabilities can be used as such:

quarkusExtension {
  capabilities {
    capability 'org.acme:ext-z'
    capability 'org.acme:ext-a' onlyIf ['org.acme:ext-b', 'org.acme:ext-y']
    capability 'org.acme:ext-c' onlyIfNot ['org.acme:ext-d']
    capability 'org.acme:ext-g' onlyIf ['org.acme:ext-b'] onlyIfNot ['org.acme:ext-d']
  }
}

@glefloch glefloch requested a review from aloubyansky March 1, 2022 14:00
@quarkus-bot quarkus-bot bot added area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle labels Mar 1, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Mar 1, 2022

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building cc2bd0e

Status Name Step Failures Logs Raw logs
Initial JDK 11 Build Build Failures Logs Raw logs

Failures

⚙️ Initial JDK 11 Build #

- Failing: devtools/gradle/gradle-extension-plugin 
! Skipped: integration-tests/gradle 

📦 devtools/gradle/gradle-extension-plugin

Failed to execute goal net.revelc.code:impsort-maven-plugin:1.6.2:check (check-imports) on project io.quarkus.extension.gradle.plugin: Imports are not sorted in /home/runner/work/quarkus/quarkus/devtools/gradle/gradle-extension-plugin/src/main/java/io/quarkus/extension/gradle/QuarkusExtensionConfiguration.java

@glefloch glefloch force-pushed the feat/gradle-extension-capability branch from cc2bd0e to 8e6c6e2 Compare March 1, 2022 14:33
@glefloch glefloch force-pushed the feat/gradle-extension-capability branch from 8e6c6e2 to 792932e Compare March 1, 2022 21:12
@aloubyansky aloubyansky merged commit f82fcbe into quarkusio:main Mar 2, 2022
@quarkus-bot quarkus-bot bot added this to the 2.8 - main milestone Mar 2, 2022
@glefloch glefloch deleted the feat/gradle-extension-capability branch March 2, 2022 07:58
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.

2 participants