With the newer gradle versions, it is enough to type these lines into the app's build.gradle's dependencies block:`
compile "org.projectlombok:lombok:1.16.16"
annotationProcessor "org.projectlombok:lombok:1.16.16"
除了compile,还注意不要漏掉annotationProcessor