From 56a03cf4cf28e5282812b26081fa6e959a3af72c Mon Sep 17 00:00:00 2001 From: Lucas Persson Date: Fri, 16 Aug 2024 13:15:55 +0200 Subject: [PATCH] update readme --- .classpath | 14 +++++++------- README.md | 2 +- .../java/se/solrike/sonarlint/SonarlintPlugin.java | 2 -- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.classpath b/.classpath index 92f02ba..02d774b 100644 --- a/.classpath +++ b/.classpath @@ -1,12 +1,5 @@ - - - - - - - @@ -19,6 +12,13 @@ + + + + + + + diff --git a/README.md b/README.md index 5733182..d41d093 100644 --- a/README.md +++ b/README.md @@ -458,7 +458,7 @@ The sonarlint gradle plugin can generate Spotbugs/Findbugs compatible XML files Enable as follows: -```groovy +```gradle sonarlintMain { reports { xml.enabled = true // default false diff --git a/src/main/java/se/solrike/sonarlint/SonarlintPlugin.java b/src/main/java/se/solrike/sonarlint/SonarlintPlugin.java index 36953e0..31a5f72 100644 --- a/src/main/java/se/solrike/sonarlint/SonarlintPlugin.java +++ b/src/main/java/se/solrike/sonarlint/SonarlintPlugin.java @@ -9,8 +9,6 @@ import org.gradle.api.plugins.JavaBasePlugin; import org.gradle.api.plugins.JavaPluginExtension; import org.gradle.api.plugins.ReportingBasePlugin; -import org.gradle.api.provider.Provider; -import org.gradle.api.provider.ProviderFactory; import org.gradle.api.reporting.ReportingExtension; import org.gradle.api.tasks.SourceSet; import org.gradle.api.tasks.SourceSetContainer;