File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
lib/src/main/java/com/diffplug/spotless/kotlin
plugin-maven/src/test/java/com/diffplug/spotless/maven/kotlin
testlib/src/test/java/com/diffplug/spotless/kotlin Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ public class DiktatStep {
3030 // prevent direct instantiation
3131 private DiktatStep () {}
3232
33- private static final String MIN_SUPPORTED_VERSION = "1.2.0 " ;
33+ private static final String MIN_SUPPORTED_VERSION = "1.2.1 " ;
3434
35- private static final String DEFAULT_VERSION = "1.2.0 " ;
35+ private static final String DEFAULT_VERSION = "1.2.1 " ;
3636 static final String NAME = "diktat" ;
3737 static final String PACKAGE_DIKTAT = "org.cqfn.diktat" ;
3838 static final String MAVEN_COORDINATE = PACKAGE_DIKTAT + ":diktat-rules:" ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ void testDiktatWithVersion() throws Exception {
4040
4141 writePomWithKotlinSteps (
4242 "<diktat>" ,
43- " <version>1.2.0 </version>" ,
43+ " <version>1.2.1 </version>" ,
4444 "</diktat>" );
4545
4646 String path = "src/main/kotlin/Main.kt" ;
@@ -56,7 +56,7 @@ void testDiktatConfig() throws Exception {
5656 File conf = setFile (configPath ).toResource ("kotlin/diktat/diktat-analysis.yml" );
5757 writePomWithKotlinSteps (
5858 "<diktat>" ,
59- " <version>1.2.0 </version>" ,
59+ " <version>1.2.1 </version>" ,
6060 " <configFile>" + conf .getAbsolutePath () + "</configFile>" ,
6161 "</diktat>" );
6262
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ void behaviorConf() throws Exception {
5454 File conf = setFile (configPath ).toResource ("kotlin/diktat/diktat-analysis.yml" );
5555 FileSignature config = signAsList (conf );
5656
57- FormatterStep step = DiktatStep .create ("1.2.0 " , TestProvisioner .mavenCentral (), config );
57+ FormatterStep step = DiktatStep .create ("1.2.1 " , TestProvisioner .mavenCentral (), config );
5858 StepHarness .forStep (step )
5959 .testResourceException ("kotlin/diktat/Unsolvable.kt" , assertion -> {
6060 assertion .isInstanceOf (AssertionError .class );
You can’t perform that action at this time.
0 commit comments