1:
implementation 'org.projectlombok:lombok:1.16.8' //添加lombok依赖
implementation 'org.glassfish:javax.annotation:10.0-b28' //java注解
2:
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath true
}
}
3:在设置页面 -> plugins -> browser repository -> 搜索lombok -> install