Search in sources :

Example 1 with IndexDependencyBuildItem

use of io.quarkus.deployment.builditem.IndexDependencyBuildItem in project keycloak by keycloak.

the class KeycloakProcessor method index.

/**
 * This will cause quarkus tu include specified modules in the jandex index. For example keycloak-services is needed as it includes
 * most of the JAX-RS resources, which are required to register Resteasy builtin providers. See {@link ResteasyDeployment#isRegisterBuiltin()}.
 * Similar reason is liquibase
 *
 * @param indexDependencyBuildItemBuildProducer
 */
@BuildStep
void index(BuildProducer<IndexDependencyBuildItem> indexDependencyBuildItemBuildProducer) {
    indexDependencyBuildItemBuildProducer.produce(new IndexDependencyBuildItem("org.liquibase", "liquibase-core"));
    indexDependencyBuildItemBuildProducer.produce(new IndexDependencyBuildItem("org.keycloak", "keycloak-services"));
}
Also used : IndexDependencyBuildItem(io.quarkus.deployment.builditem.IndexDependencyBuildItem) BuildStep(io.quarkus.deployment.annotations.BuildStep)

Aggregations

BuildStep (io.quarkus.deployment.annotations.BuildStep)1 IndexDependencyBuildItem (io.quarkus.deployment.builditem.IndexDependencyBuildItem)1