Unknown property ‘config’ for extension lombok

56 views
Skip to first unread message

Sai Yaswanth Reddy Battini

unread,
Aug 14, 2022, 9:17:59 PM8/14/22
to Project Lombok

After upgrading lombok plugin, custom config is not working and facing below error.

Error:

Could not get unknown property 'config' for extension 'lombok' of type io.freefair.gradle.plugins.lombok.LombokExtension

build.xml

buildscript { 
  repositories { ... } 
  dependencies { 
     classpath 'io.freefair.gradle:lombok-plugin:6.5.0.3' 
 } 
allprojects
 apply plugin: 'io.freefair.lombok' lombok.config['lombok.log.custom.declaration'] = 'com.example.log.Logger com.example.log.Logger.getLogger(TYPE)(TOPIC)' 
}

Build is configured with below details

Java17
lombok-plugin 6.5.0.3
Gradle 7.4.2
Reply all
Reply to author
Forward
0 new messages