Open sayseakleng opened 2 years ago
I encounter the same error No main class specified and classpath is not an executable jar.
on DelombokTask
, when I use Kotlin DSL.
A workaround is as below.
import io.franzbecker.gradle.lombok.LombokPluginExtension
import io.franzbecker.gradle.lombok.task.DelombokTask
tasks.withType<DelombokTask>().configureEach {
mainClass.set(LombokPluginExtension().main)
}
Gradle: 7.4.2 Gradle DSL: Kotlin DSL
Hello! I'm facing an issue to run installLombok task on Gradle 7.3.1, as following description:
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':installLombok'.
Try:
Get more help at https://help.gradle.org