Querydsl Annotation Processor issue after upgrade to Gradle 5

后端 未结 6 1117
孤独总比滥情好
孤独总比滥情好 2021-01-02 19:13

I have a gradle script which generates querydsl classes from Mongo annotated entities. It was working so far, but after upgrade to Gradle 5 I have a problem with:

         


        
6条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-02 20:07

    I have finally found a workaround. Querydsl's lack of compatibility with Gradle 5 is reported here as a bug: https://github.com/ewerk/gradle-plugins/issues/108

    Workaround is to add to gradle script:

    compileQuerydsl {
        options.annotationProcessorPath = configurations.querydsl
    }
    

提交回复
热议问题