dependencies {
    compileOnly 'org.projectlombok:lombok:1.18.40'
    annotationProcessor 'org.projectlombok:lombok:1.18.40'
    testCompileOnly 'org.projectlombok:lombok:1.18.40'
    testAnnotationProcessor 'org.projectlombok:lombok:1.18.40'
}

testing {
    suites {
        configureEach {
            dependencies {
                compileOnly 'org.projectlombok:lombok:1.18.40'
                annotationProcessor 'org.projectlombok:lombok:1.18.40'
            }
        }
    }
}
