diff --git a/README.md b/README.md
index bd1469bd88..0f47c1ba17 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.0). 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.1). 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.43.2/ktlint && chmod a+x ktlint
```
-2. Load diKTat manually: [here](https://github.com/saveourtool/diKTat/releases/download/v1.2.0/diktat-1.2.0.jar)
+2. Load diKTat manually: [here](https://github.com/saveourtool/diKTat/releases/download/v1.2.1/diktat-1.2.1.jar)
**OR** use curl:
```bash
-$ curl -sSLO https://github.com/saveourtool/diKTat/releases/download/v1.2.0/diktat-1.2.0.jar
+$ curl -sSLO https://github.com/saveourtool/diKTat/releases/download/v1.2.1/diktat-1.2.1.jar
```
@@ -187,7 +187,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.0"
+ id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.1"
}
```
@@ -198,7 +198,7 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath("org.cqfn.diktat:diktat-gradle-plugin:1.2.0")
+ classpath("org.cqfn.diktat:diktat-gradle-plugin:1.2.1")
}
}
@@ -219,9 +219,9 @@ diktat {
Also `diktat` extension has different reporters. You can specify `json`, `html`, `sarif`, `plain` (default) or your own custom reporter (it should be added as a dependency into `diktat` configuration):
```kotlin
diktat {
- // since 1.2.0 to keep in line with maven properties
+ // since 1.2.1 to keep in line with maven properties
reporter = "json" // "html", "json", "plain" (default), "sarif"
- // before 1.2.0
+ // before 1.2.1
// reporterType = "json" // "html", "json", "plain" (default), "sarif"
}
```
@@ -229,7 +229,7 @@ diktat {
You can also specify an output.
```kotlin
diktat {
- // since 1.2.0 (reporterType for old versions)
+ // since 1.2.1 (reporterType for old versions)
reporter = "json"
output = "someFile.json"
}
@@ -270,7 +270,7 @@ spotless {
```kotlin
spotless {
kotlin {
- diktat("1.2.0").configFile("full/path/to/diktat-analysis.yml")
+ diktat("1.2.1").configFile("full/path/to/diktat-analysis.yml")
}
}
```
@@ -301,7 +301,7 @@ Diktat can be run via spotless-maven-plugin since version 2.8.0
```xml
- 1.2.0
+ 1.2.1
full/path/to/diktat-analysis.yml
```
diff --git a/diktat-common/pom.xml b/diktat-common/pom.xml
index 3722cf1c25..5ccb8d80db 100644
--- a/diktat-common/pom.xml
+++ b/diktat-common/pom.xml
@@ -9,7 +9,7 @@
org.cqfn.diktat
diktat-parent
- 1.2.1-SNAPSHOT
+ 1.2.2-SNAPSHOT
diff --git a/diktat-gradle-plugin/gradle-plugin-marker/pom.xml b/diktat-gradle-plugin/gradle-plugin-marker/pom.xml
index aa67064b77..90b20efd91 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.1-SNAPSHOT
+ 1.2.2-SNAPSHOT
4.0.0
diff --git a/diktat-gradle-plugin/pom.xml b/diktat-gradle-plugin/pom.xml
index 38700ecc89..6d7b77119e 100644
--- a/diktat-gradle-plugin/pom.xml
+++ b/diktat-gradle-plugin/pom.xml
@@ -5,7 +5,7 @@
diktat-parent
org.cqfn.diktat
- 1.2.1-SNAPSHOT
+ 1.2.2-SNAPSHOT
4.0.0
diff --git a/diktat-maven-plugin/pom.xml b/diktat-maven-plugin/pom.xml
index 055cb424da..ef2c634e4a 100644
--- a/diktat-maven-plugin/pom.xml
+++ b/diktat-maven-plugin/pom.xml
@@ -5,7 +5,7 @@
diktat-parent
org.cqfn.diktat
- 1.2.1-SNAPSHOT
+ 1.2.2-SNAPSHOT
4.0.0
diff --git a/diktat-rules/pom.xml b/diktat-rules/pom.xml
index da876f0bbd..40d0bd03a5 100644
--- a/diktat-rules/pom.xml
+++ b/diktat-rules/pom.xml
@@ -9,7 +9,7 @@
org.cqfn.diktat
diktat-parent
- 1.2.1-SNAPSHOT
+ 1.2.2-SNAPSHOT
diff --git a/diktat-ruleset/pom.xml b/diktat-ruleset/pom.xml
index 6db4d40c22..87dc17e0c0 100644
--- a/diktat-ruleset/pom.xml
+++ b/diktat-ruleset/pom.xml
@@ -8,7 +8,7 @@
org.cqfn.diktat
diktat-parent
- 1.2.1-SNAPSHOT
+ 1.2.2-SNAPSHOT
diff --git a/diktat-test-framework/pom.xml b/diktat-test-framework/pom.xml
index 74736bb936..d3f0896018 100644
--- a/diktat-test-framework/pom.xml
+++ b/diktat-test-framework/pom.xml
@@ -9,7 +9,7 @@
org.cqfn.diktat
diktat-parent
- 1.2.1-SNAPSHOT
+ 1.2.2-SNAPSHOT
diff --git a/examples/gradle-groovy-dsl/build.gradle b/examples/gradle-groovy-dsl/build.gradle
index be8885a4ce..b471212824 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.0"
+ id "org.cqfn.diktat.diktat-gradle-plugin" version "1.2.1"
}
repositories {
diff --git a/examples/gradle-kotlin-dsl/build.gradle.kts b/examples/gradle-kotlin-dsl/build.gradle.kts
index b4250b9434..e09090dac9 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.0"
+ id("org.cqfn.diktat.diktat-gradle-plugin") version "1.2.1"
}
repositories {
diff --git a/examples/maven/pom.xml b/examples/maven/pom.xml
index 10b4057f01..de15d4fc23 100644
--- a/examples/maven/pom.xml
+++ b/examples/maven/pom.xml
@@ -5,10 +5,10 @@
org.cqfn.diktat
diktat-examples-maven
pom
- 1.2.0-SNAPSHOT
+ 1.2.1-SNAPSHOT
- 1.2.0
+ 1.2.1