Skip to content
Discussion options

You must be logged in to vote

To configure the jboss-logging-processor annotation processor in Gradle, you need to add it to the annotationProcessor configuration in your dependencies block. This will ensure that the annotation processor is run during the compile phase of your build.

Here is how you can do it:

dependencies {
    // other dependencies...
    annotationProcessor 'org.jboss.logging:jboss-logging:3.5.3.Final'
    annotationProcessor 'org.jboss.logging:jboss-logging-processor:2.2.1.Final'
    annotationProcessor 'org.jboss.logging:jboss-logging-annotations:2.2.1.Final'
}

This will ensure that the annotation processor is included in the classpath during the compile phase.

Here is my build.gradle file:

plugins

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gastaldi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
kind/bug Something isn't working area/gradle Gradle
2 participants
Converted from issue

This discussion was converted from issue #38426 on January 27, 2024 13:24.