From 7dcf0671ab1a895713f3acbeb79726bcd1cf64fa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 10 Nov 2022 04:49:04 +0000 Subject: [PATCH] Update versions in pom.xml and documentation after 1.2.4 release (#1556) --- README.md | 18 +++++++++--------- diktat-common/pom.xml | 2 +- .../gradle-plugin-marker/pom.xml | 2 +- diktat-gradle-plugin/pom.xml | 2 +- diktat-maven-plugin/pom.xml | 2 +- diktat-rules/pom.xml | 2 +- diktat-ruleset/pom.xml | 2 +- diktat-test-framework/pom.xml | 2 +- examples/gradle-groovy-dsl/build.gradle | 2 +- examples/gradle-groovy-dsl/diktat-analysis.yml | 3 +++ .../diktat-analysis.yml | 3 +++ examples/gradle-kotlin-dsl/build.gradle.kts | 2 +- examples/gradle-kotlin-dsl/diktat-analysis.yml | 3 +++ examples/maven/diktat-analysis.yml | 3 +++ examples/maven/pom.xml | 4 ++-- info/buildSrc/gradle.properties | 2 +- pom.xml | 4 ++-- 17 files changed, 35 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 009787be83..a942c33792 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ DiKTat is a strict [coding standard ](info/guide/diktat-coding-convention.md) fo as AST visitors on the top of [KTlint](https://ktlint.github.io/). It can be used for detecting and autofixing code smells in CI/CD process. The full list of available supported rules and inspections can be found [here](info/available-rules.md). -Now diKTat was already added to the lists of [static analysis tools](https://github.com/analysis-tools-dev/static-analysis), to [kotlin-awesome](https://github.com/KotlinBy/awesome-kotlin) and to [kompar](https://catalog.kompar.tools/Analyzer/diKTat/1.2.3). Thanks to the community for this support! +Now diKTat was already added to the lists of [static analysis tools](https://github.com/analysis-tools-dev/static-analysis), to [kotlin-awesome](https://github.com/KotlinBy/awesome-kotlin) and to [kompar](https://catalog.kompar.tools/Analyzer/diKTat/1.2.4). Thanks to the community for this support! ## See first @@ -56,11 +56,11 @@ Main features of diktat are the following: curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.47.1/ktlint && chmod a+x ktlint ``` -1. Load diKTat manually: [here](https://github.com/saveourtool/diKTat/releases/download/v1.2.3/diktat-1.2.3.jar) +1. Load diKTat manually: [here](https://github.com/saveourtool/diKTat/releases/download/v1.2.4/diktat-1.2.4.jar) **OR** use `curl`: ```console - $ curl -sSLO https://github.com/saveourtool/diKTat/releases/download/v1.2.3/diktat-1.2.3.jar + $ curl -sSLO https://github.com/saveourtool/diKTat/releases/download/v1.2.4/diktat-1.2.4.jar ``` ### Run diKTat @@ -182,7 +182,7 @@ This plugin is available since version 0.1.5. You can see how the plugin is conf ```kotlin plugins { - id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.3" + id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.4" } ``` @@ -193,7 +193,7 @@ buildscript { mavenCentral() } dependencies { - classpath("org.cqfn.diktat:diktat-gradle-plugin:1.2.3") + classpath("org.cqfn.diktat:diktat-gradle-plugin:1.2.4") } } @@ -215,9 +215,9 @@ Also in `diktat` extension you can configure different reporters and their outpu If `output` is set, it should be a file path. If not set, results will be printed to stdout. ```kotlin diktat { - // since 1.2.3 to keep in line with maven properties + // since 1.2.4 to keep in line with maven properties reporter = "json" // "html", "json", "plain" (default), "sarif" - // before 1.2.3 + // before 1.2.4 // reporterType = "json" // "html", "json", "plain" (default), "sarif" output = "someFile.json" @@ -259,7 +259,7 @@ spotless { ```kotlin spotless { kotlin { - diktat("1.2.3").configFile("full/path/to/diktat-analysis.yml") + diktat("1.2.4").configFile("full/path/to/diktat-analysis.yml") } } ``` @@ -290,7 +290,7 @@ Diktat can be run via spotless-maven-plugin since version 2.8.0 ```xml - 1.2.3 + 1.2.4 full/path/to/diktat-analysis.yml ``` diff --git a/diktat-common/pom.xml b/diktat-common/pom.xml index 726d599346..fdf999e628 100644 --- a/diktat-common/pom.xml +++ b/diktat-common/pom.xml @@ -9,7 +9,7 @@ org.cqfn.diktat diktat-parent - 1.2.4-SNAPSHOT + 1.2.5-SNAPSHOT diff --git a/diktat-gradle-plugin/gradle-plugin-marker/pom.xml b/diktat-gradle-plugin/gradle-plugin-marker/pom.xml index 632bd8d144..b8f40a2db6 100644 --- a/diktat-gradle-plugin/gradle-plugin-marker/pom.xml +++ b/diktat-gradle-plugin/gradle-plugin-marker/pom.xml @@ -4,7 +4,7 @@ diktat-gradle-plugin org.cqfn.diktat - 1.2.4-SNAPSHOT + 1.2.5-SNAPSHOT 4.0.0 diff --git a/diktat-gradle-plugin/pom.xml b/diktat-gradle-plugin/pom.xml index 3969806433..d30702705d 100644 --- a/diktat-gradle-plugin/pom.xml +++ b/diktat-gradle-plugin/pom.xml @@ -5,7 +5,7 @@ diktat-parent org.cqfn.diktat - 1.2.4-SNAPSHOT + 1.2.5-SNAPSHOT 4.0.0 diff --git a/diktat-maven-plugin/pom.xml b/diktat-maven-plugin/pom.xml index 8f296767d5..4437b54055 100644 --- a/diktat-maven-plugin/pom.xml +++ b/diktat-maven-plugin/pom.xml @@ -5,7 +5,7 @@ diktat-parent org.cqfn.diktat - 1.2.4-SNAPSHOT + 1.2.5-SNAPSHOT 4.0.0 diff --git a/diktat-rules/pom.xml b/diktat-rules/pom.xml index b3b839cb4a..f7b4cf55b7 100644 --- a/diktat-rules/pom.xml +++ b/diktat-rules/pom.xml @@ -9,7 +9,7 @@ org.cqfn.diktat diktat-parent - 1.2.4-SNAPSHOT + 1.2.5-SNAPSHOT diff --git a/diktat-ruleset/pom.xml b/diktat-ruleset/pom.xml index 1161e3e7b7..9024648b37 100644 --- a/diktat-ruleset/pom.xml +++ b/diktat-ruleset/pom.xml @@ -8,7 +8,7 @@ org.cqfn.diktat diktat-parent - 1.2.4-SNAPSHOT + 1.2.5-SNAPSHOT ../pom.xml diff --git a/diktat-test-framework/pom.xml b/diktat-test-framework/pom.xml index f6f8b2d99f..bcb567e5f6 100644 --- a/diktat-test-framework/pom.xml +++ b/diktat-test-framework/pom.xml @@ -9,7 +9,7 @@ org.cqfn.diktat diktat-parent - 1.2.4-SNAPSHOT + 1.2.5-SNAPSHOT diff --git a/examples/gradle-groovy-dsl/build.gradle b/examples/gradle-groovy-dsl/build.gradle index f2a17767bd..97d4635c11 100644 --- a/examples/gradle-groovy-dsl/build.gradle +++ b/examples/gradle-groovy-dsl/build.gradle @@ -1,5 +1,5 @@ plugins { - id "org.cqfn.diktat.diktat-gradle-plugin" version "1.2.3" + id "org.cqfn.diktat.diktat-gradle-plugin" version "1.2.4" } repositories { diff --git a/examples/gradle-groovy-dsl/diktat-analysis.yml b/examples/gradle-groovy-dsl/diktat-analysis.yml index e55015a853..0eb0e0cf8c 100644 --- a/examples/gradle-groovy-dsl/diktat-analysis.yml +++ b/examples/gradle-groovy-dsl/diktat-analysis.yml @@ -447,6 +447,9 @@ # Checks that property in KDoc present in class - name: KDOC_EXTRA_PROPERTY enabled: true +# There's a property in KDoc which is already present +- name: KDOC_DUPLICATE_PROPERTY + enabled: true # Checks that KDoc in constructor has property tag but with comment inside constructor - name: KDOC_NO_CONSTRUCTOR_PROPERTY_WITH_COMMENT enabled: true diff --git a/examples/gradle-kotlin-dsl-multiproject/diktat-analysis.yml b/examples/gradle-kotlin-dsl-multiproject/diktat-analysis.yml index e55015a853..0eb0e0cf8c 100644 --- a/examples/gradle-kotlin-dsl-multiproject/diktat-analysis.yml +++ b/examples/gradle-kotlin-dsl-multiproject/diktat-analysis.yml @@ -447,6 +447,9 @@ # Checks that property in KDoc present in class - name: KDOC_EXTRA_PROPERTY enabled: true +# There's a property in KDoc which is already present +- name: KDOC_DUPLICATE_PROPERTY + enabled: true # Checks that KDoc in constructor has property tag but with comment inside constructor - name: KDOC_NO_CONSTRUCTOR_PROPERTY_WITH_COMMENT enabled: true diff --git a/examples/gradle-kotlin-dsl/build.gradle.kts b/examples/gradle-kotlin-dsl/build.gradle.kts index f70b46d29c..5e9b449300 100644 --- a/examples/gradle-kotlin-dsl/build.gradle.kts +++ b/examples/gradle-kotlin-dsl/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.3" + id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.4" } repositories { diff --git a/examples/gradle-kotlin-dsl/diktat-analysis.yml b/examples/gradle-kotlin-dsl/diktat-analysis.yml index e55015a853..0eb0e0cf8c 100644 --- a/examples/gradle-kotlin-dsl/diktat-analysis.yml +++ b/examples/gradle-kotlin-dsl/diktat-analysis.yml @@ -447,6 +447,9 @@ # Checks that property in KDoc present in class - name: KDOC_EXTRA_PROPERTY enabled: true +# There's a property in KDoc which is already present +- name: KDOC_DUPLICATE_PROPERTY + enabled: true # Checks that KDoc in constructor has property tag but with comment inside constructor - name: KDOC_NO_CONSTRUCTOR_PROPERTY_WITH_COMMENT enabled: true diff --git a/examples/maven/diktat-analysis.yml b/examples/maven/diktat-analysis.yml index e55015a853..0eb0e0cf8c 100644 --- a/examples/maven/diktat-analysis.yml +++ b/examples/maven/diktat-analysis.yml @@ -447,6 +447,9 @@ # Checks that property in KDoc present in class - name: KDOC_EXTRA_PROPERTY enabled: true +# There's a property in KDoc which is already present +- name: KDOC_DUPLICATE_PROPERTY + enabled: true # Checks that KDoc in constructor has property tag but with comment inside constructor - name: KDOC_NO_CONSTRUCTOR_PROPERTY_WITH_COMMENT enabled: true diff --git a/examples/maven/pom.xml b/examples/maven/pom.xml index 678093f8bc..db5720c0cc 100644 --- a/examples/maven/pom.xml +++ b/examples/maven/pom.xml @@ -5,10 +5,10 @@ org.cqfn.diktat diktat-examples-maven pom - 1.2.4-SNAPSHOT + 1.2.5-SNAPSHOT - 1.2.3 + 1.2.4