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 {
30
30
// prevent direct instantiation
31
31
private DiktatStep () {}
32
32
33
- private static final String MIN_SUPPORTED_VERSION = "1.2.0 " ;
33
+ private static final String MIN_SUPPORTED_VERSION = "1.2.1 " ;
34
34
35
- private static final String DEFAULT_VERSION = "1.2.0 " ;
35
+ private static final String DEFAULT_VERSION = "1.2.1 " ;
36
36
static final String NAME = "diktat" ;
37
37
static final String PACKAGE_DIKTAT = "org.cqfn.diktat" ;
38
38
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 {
40
40
41
41
writePomWithKotlinSteps (
42
42
"<diktat>" ,
43
- " <version>1.2.0 </version>" ,
43
+ " <version>1.2.1 </version>" ,
44
44
"</diktat>" );
45
45
46
46
String path = "src/main/kotlin/Main.kt" ;
@@ -56,7 +56,7 @@ void testDiktatConfig() throws Exception {
56
56
File conf = setFile (configPath ).toResource ("kotlin/diktat/diktat-analysis.yml" );
57
57
writePomWithKotlinSteps (
58
58
"<diktat>" ,
59
- " <version>1.2.0 </version>" ,
59
+ " <version>1.2.1 </version>" ,
60
60
" <configFile>" + conf .getAbsolutePath () + "</configFile>" ,
61
61
"</diktat>" );
62
62
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ void behaviorConf() throws Exception {
54
54
File conf = setFile (configPath ).toResource ("kotlin/diktat/diktat-analysis.yml" );
55
55
FileSignature config = signAsList (conf );
56
56
57
- FormatterStep step = DiktatStep .create ("1.2.0 " , TestProvisioner .mavenCentral (), config );
57
+ FormatterStep step = DiktatStep .create ("1.2.1 " , TestProvisioner .mavenCentral (), config );
58
58
StepHarness .forStep (step )
59
59
.testResourceException ("kotlin/diktat/Unsolvable.kt" , assertion -> {
60
60
assertion .isInstanceOf (AssertionError .class );
You can’t perform that action at this time.
0 commit comments