@@ -30,7 +30,7 @@ class KotlinExtensionTest extends GradleIntegrationHarness {
30
30
void integrationDiktat () throws IOException {
31
31
setFile ("build.gradle" ).toLines (
32
32
"plugins {" ,
33
- " id 'org.jetbrains.kotlin.jvm' version '1.4.30 '" ,
33
+ " id 'org.jetbrains.kotlin.jvm' version '1.6.21 '" ,
34
34
" id 'com.diffplug.spotless'" ,
35
35
"}" ,
36
36
"repositories { mavenCentral() }" ,
@@ -48,7 +48,7 @@ void integrationDiktat() throws IOException {
48
48
void integrationKtfmt_dropboxStyle_0_19 () throws IOException {
49
49
setFile ("build.gradle" ).toLines (
50
50
"plugins {" ,
51
- " id 'org.jetbrains.kotlin.jvm' version '1.5.31 '" ,
51
+ " id 'org.jetbrains.kotlin.jvm' version '1.6.21 '" ,
52
52
" id 'com.diffplug.spotless'" ,
53
53
"}" ,
54
54
"repositories { mavenCentral() }" ,
@@ -66,7 +66,7 @@ void integrationKtfmt_dropboxStyle_0_19() throws IOException {
66
66
void withExperimentalEditorConfigOverride () throws IOException {
67
67
setFile ("build.gradle" ).toLines (
68
68
"plugins {" ,
69
- " id 'org.jetbrains.kotlin.jvm' version '1.5.31 '" ,
69
+ " id 'org.jetbrains.kotlin.jvm' version '1.6.21 '" ,
70
70
" id 'com.diffplug.spotless'" ,
71
71
"}" ,
72
72
"repositories { mavenCentral() }" ,
@@ -90,7 +90,7 @@ void testWithInvalidEditorConfigFile() throws IOException {
90
90
91
91
setFile ("build.gradle" ).toLines (
92
92
"plugins {" ,
93
- " id 'org.jetbrains.kotlin.jvm' version '1.5.31 '" ,
93
+ " id 'org.jetbrains.kotlin.jvm' version '1.6.21 '" ,
94
94
" id 'com.diffplug.spotless'" ,
95
95
"}" ,
96
96
"repositories { mavenCentral() }" ,
@@ -110,7 +110,7 @@ void testReadCodeStyleFromEditorConfigFile() throws IOException {
110
110
setFile (".editorconfig" ).toResource ("kotlin/ktlint/ktlint_official/.editorconfig" );
111
111
setFile ("build.gradle" ).toLines (
112
112
"plugins {" ,
113
- " id 'org.jetbrains.kotlin.jvm' version '1.5.31 '" ,
113
+ " id 'org.jetbrains.kotlin.jvm' version '1.6.21 '" ,
114
114
" id 'com.diffplug.spotless'" ,
115
115
"}" ,
116
116
"repositories { mavenCentral() }" ,
@@ -127,7 +127,7 @@ void testSetEditorConfigCanOverrideEditorConfigFile() throws IOException {
127
127
setFile (".editorconfig" ).toResource ("kotlin/ktlint/intellij_idea/.editorconfig" );
128
128
setFile ("build.gradle" ).toLines (
129
129
"plugins {" ,
130
- " id 'org.jetbrains.kotlin.jvm' version '1.5.31 '" ,
130
+ " id 'org.jetbrains.kotlin.jvm' version '1.6.21 '" ,
131
131
" id 'com.diffplug.spotless'" ,
132
132
"}" ,
133
133
"repositories { mavenCentral() }" ,
@@ -145,7 +145,7 @@ void testSetEditorConfigCanOverrideEditorConfigFile() throws IOException {
145
145
void withCustomRuleSetApply () throws IOException {
146
146
setFile ("build.gradle" ).toLines (
147
147
"plugins {" ,
148
- " id 'org.jetbrains.kotlin.jvm' version '1.5.31 '" ,
148
+ " id 'org.jetbrains.kotlin.jvm' version '1.6.21 '" ,
149
149
" id 'com.diffplug.spotless'" ,
150
150
"}" ,
151
151
"repositories { mavenCentral() }" ,
@@ -169,7 +169,7 @@ void withCustomRuleSetApply() throws IOException {
169
169
void testWithHeader () throws IOException {
170
170
setFile ("build.gradle" ).toLines (
171
171
"plugins {" ,
172
- " id 'org.jetbrains.kotlin.jvm' version '1.5.31 '" ,
172
+ " id 'org.jetbrains.kotlin.jvm' version '1.6.21 '" ,
173
173
" id 'com.diffplug.spotless'" ,
174
174
"}" ,
175
175
"repositories { mavenCentral() }" ,
@@ -188,7 +188,7 @@ void testWithHeader() throws IOException {
188
188
void testWithCustomMaxWidthDefaultStyleKtfmt () throws IOException {
189
189
setFile ("build.gradle" ).toLines (
190
190
"plugins {" ,
191
- " id 'org.jetbrains.kotlin.jvm' version '1.5.31 '" ,
191
+ " id 'org.jetbrains.kotlin.jvm' version '1.6.21 '" ,
192
192
" id 'com.diffplug.spotless'" ,
193
193
"}" ,
194
194
"repositories { mavenCentral() }" ,
0 commit comments