gradle打包後lombok不生效

With the newer gradle versions, it is enough to type these lines into the app's build.gradle's dependencies block:`app

compile "org.projectlombok:lombok:1.16.16"
annotationProcessor "org.projectlombok:lombok:1.16.16"

除了compile,還注意不要漏掉annotationProcessorgradle

相關文章
相關標籤/搜索