Open danelowe opened 4 years ago
If I change compileOnly 'org.mapstruct:mapstruct-processor:1.4.0.Beta3'
to annotationProcessor 'org.mapstruct:mapstruct-processor:1.4.0.Beta3'
, it works as expected.
Unfortunately, Kapt seems to break Quarkus CDI entirely, and I'm intending to annotate Kotlin classes.
I tried converting the mapstruct-quarkus example directly to gradle.
https://github.com/danelowe/mapstruct-quarkus-gradle
Running
./gradlew quarkusDev
results in an error when trying to access the server (http://localhost:8080/)Similarly cannot build due to same error.
I have no idea if I'm using it wrong, or if there is a bug with Mapstruct, or with Quarkus, or if some workaround is necessary to get it working with Gradle.
I would like to use Mapstruct in a project with Quarkus/Gradle/Kotlin, but kapt seems to break Quarkus CDI, and I can't get mapstruct to run in Quarkus CDI with Gradle