projectlombok / lombok

Very spicy additions to the Java programming language.
https://projectlombok.org/
Other
12.92k stars 2.4k forks source link

[BUG] Can Lombok be used with dataBinding and Kotlin? #3278

Open xsy2015 opened 2 years ago

xsy2015 commented 2 years ago

project build.gradle classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'

app build.gradle apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt'

buildFeatures{ dataBinding =true }

kapt { keepJavacAnnotationProcessors = true }

dependencies { compileOnly 'org.projectlombok:lombok:1.18.24' annotationProcessor 'org.projectlombok:lombok:1.18.24' kapt 'org.projectlombok:lombok:1.18.24' }

Task :app:compileBaDebugJavaWithJavac FAILED

Execution failed for task ':app:compileBaDebugJavaWithJavac'.

java.lang.RuntimeException: Failed to parse data binding compiler options. Params:

Can Lombok be used with dataBinding and Kotlin

YASMINCOS commented 1 month ago

Voce conseguiu resolver esse problema?