From 984459002d24adf3a09fc447ab3903e8dae1c58a Mon Sep 17 00:00:00 2001 From: Lars Grefer Date: Fri, 28 Jan 2022 00:15:32 +0100 Subject: [PATCH] Update to Lombok-Plugin 6.2.0 --- build.gradle | 4 ++-- .../freefair/gradle/plugins/android/AndroidLombokPlugin.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index a0bce85..5edd940 100644 --- a/build.gradle +++ b/build.gradle @@ -31,7 +31,7 @@ group = 'io.freefair.gradle' java.withJavadocJar() javadoc.options.links "https://docs.gradle.org/$gradle.gradleVersion/javadoc/" -javadoc.options.links "https://developer.android.com/reference/tools/gradle-api/4.2/" +javadoc.options.links "https://developer.android.com/reference/tools/gradle-api/7.0/" javadoc.failOnError = false compileJava.options.compilerArgs += "-Xlint" @@ -40,7 +40,7 @@ sourceCompatibility = JavaVersion.VERSION_11 dependencies { api 'com.android.tools.build:gradle:7.0.4' - api 'io.freefair.gradle:lombok-plugin:6.1.0' + api 'io.freefair.gradle:lombok-plugin:6.2.0' api 'io.freefair.gradle:aspectj-plugin:6.2.0' testImplementation 'junit:junit:4.13.2' diff --git a/src/main/java/io/freefair/gradle/plugins/android/AndroidLombokPlugin.java b/src/main/java/io/freefair/gradle/plugins/android/AndroidLombokPlugin.java index 1c26b5a..92a3ff1 100644 --- a/src/main/java/io/freefair/gradle/plugins/android/AndroidLombokPlugin.java +++ b/src/main/java/io/freefair/gradle/plugins/android/AndroidLombokPlugin.java @@ -53,7 +53,6 @@ protected void withAndroid(TestedExtension extension) { TaskProvider compileJava = variant.getJavaCompileProvider(); compileJava.configure(cj -> { - cj.dependsOn(lombokPlugin.getCheckLombokConfigs()); cj.getOptions().getCompilerArgs().add("-Xlint:-processing"); });