From 50eee310b1ed83938250c61810b94a376c68f73c Mon Sep 17 00:00:00 2001 From: Sebastian Westemeyer Date: Fri, 20 Dec 2024 16:53:31 +0100 Subject: [PATCH] Rebased to make use of module updater extension point --- build.gradle | 2 +- metadata/changelog.html | 3 +- .../plugins/autoconfig/AutoconfigStartup.java | 61 +--------------- .../autoconfig/UpdateModuleHandler.java | 4 ++ .../CommonModuleConfigurationHandler.java | 23 +++--- .../handlers/sonarlint/SonarLintHandler.java | 72 ------------------- .../sonarqube/SonarQubeModuleHandler.java | 59 +++++++++++++++ .../service/ConfigurationUpdaterService.java | 8 +-- src/main/resources/META-INF/plugin-git.xml | 1 + src/main/resources/META-INF/plugin-java.xml | 1 + src/main/resources/META-INF/plugin-maven.xml | 1 + .../resources/META-INF/plugin-sonarlint.xml | 5 -- .../resources/META-INF/plugin-sonarqube.xml | 6 ++ src/main/resources/META-INF/plugin.xml | 2 +- .../resources/schema/sonarlint.schema.json | 30 -------- .../schema/sonarqubeModule.schema.json | 23 ++++++ 16 files changed, 115 insertions(+), 186 deletions(-) delete mode 100644 src/main/java/de/gebit/plugins/autoconfig/handlers/sonarlint/SonarLintHandler.java create mode 100644 src/main/java/de/gebit/plugins/autoconfig/handlers/sonarqube/SonarQubeModuleHandler.java delete mode 100644 src/main/resources/META-INF/plugin-sonarlint.xml create mode 100644 src/main/resources/META-INF/plugin-sonarqube.xml delete mode 100644 src/main/resources/schema/sonarlint.schema.json create mode 100644 src/main/resources/schema/sonarqubeModule.schema.json diff --git a/build.gradle b/build.gradle index 137c9bf..26acf86 100644 --- a/build.gradle +++ b/build.gradle @@ -286,7 +286,7 @@ jsonSchema2Pojo { useOptionalForGetters = false // properties to exclude from generated toString - toStringExcludes = ["someProperty"] + toStringExcludes = [] // What Java version to target with generated source code (1.6, 1.8, 9, 11, etc). // By default, the version will be taken from the Gradle Java plugin's 'sourceCompatibility', diff --git a/metadata/changelog.html b/metadata/changelog.html index c8a957a..3d4f07a 100644 --- a/metadata/changelog.html +++ b/metadata/changelog.html @@ -5,9 +5,10 @@ Changelog -

1.0.3

+

1.1.0

1.0.2