@@ -42,7 +42,7 @@ class VaadinSmokeTest : AbstractGradleTest() {
42
42
testProject.buildFile.writeText("""
43
43
plugins {
44
44
id 'war'
45
- id 'com.vaadin'
45
+ id 'com.vaadin.flow '
46
46
}
47
47
repositories {
48
48
mavenLocal()
@@ -196,7 +196,7 @@ class VaadinSmokeTest : AbstractGradleTest() {
196
196
testProject.buildFile.writeText("""
197
197
plugins {
198
198
id 'war'
199
- id 'com.vaadin'
199
+ id 'com.vaadin.flow '
200
200
}
201
201
repositories {
202
202
mavenLocal()
@@ -227,7 +227,7 @@ class VaadinSmokeTest : AbstractGradleTest() {
227
227
testProject.buildFile.writeText("""
228
228
plugins {
229
229
id 'war'
230
- id 'com.vaadin'
230
+ id 'com.vaadin.flow '
231
231
}
232
232
repositories {
233
233
mavenLocal()
@@ -266,7 +266,7 @@ class VaadinSmokeTest : AbstractGradleTest() {
266
266
testProject.buildFile.writeText("""
267
267
plugins {
268
268
id 'war'
269
- id 'com.vaadin'
269
+ id 'com.vaadin.flow '
270
270
}
271
271
repositories {
272
272
mavenLocal()
@@ -310,7 +310,7 @@ class VaadinSmokeTest : AbstractGradleTest() {
310
310
testProject.buildFile.writeText("""
311
311
plugins {
312
312
id 'war'
313
- id 'com.vaadin'
313
+ id 'com.vaadin.flow '
314
314
}
315
315
repositories {
316
316
mavenLocal()
@@ -397,7 +397,7 @@ class VaadinSmokeTest : AbstractGradleTest() {
397
397
"""
398
398
plugins {
399
399
id 'war'
400
- id 'com.vaadin'
400
+ id 'com.vaadin.flow '
401
401
}
402
402
repositories {
403
403
mavenLocal()
@@ -464,7 +464,7 @@ class VaadinSmokeTest : AbstractGradleTest() {
464
464
setup()
465
465
}
466
466
467
- for (supportedVersion in arrayOf(VaadinPlugin .GRADLE_MINIMUM_SUPPORTED_VERSION , " 8.8" , " 8.10" ) ) {
467
+ for (supportedVersion in arrayOf(FlowPlugin .GRADLE_MINIMUM_SUPPORTED_VERSION , " 8.8" , " 8.10" ) ) {
468
468
setupProjectForGradleVersion(supportedVersion)
469
469
val result = testProject.build(" vaadinClean" )
470
470
result.expectTaskSucceded(" vaadinClean" )
@@ -478,16 +478,16 @@ class VaadinSmokeTest : AbstractGradleTest() {
478
478
result.output,
479
479
Regex (" Failed to process the entry 'META-INF/versions/(\\ d+)/com/fasterxml/jackson/" ),
480
480
" Expecting plugin execution to fail for version ${unsupportedVersion} " +
481
- " as it is lower than the supported one (${VaadinPlugin .GRADLE_MINIMUM_SUPPORTED_VERSION } ) " +
481
+ " as it is lower than the supported one (${FlowPlugin .GRADLE_MINIMUM_SUPPORTED_VERSION } ) " +
482
482
" and it is incompatible with Jackson library used by Flow"
483
483
)
484
484
} else {
485
485
assertContains(
486
486
result.output,
487
- " requires Gradle ${VaadinPlugin .GRADLE_MINIMUM_SUPPORTED_VERSION } or later" ,
487
+ " requires Gradle ${FlowPlugin .GRADLE_MINIMUM_SUPPORTED_VERSION } or later" ,
488
488
true ,
489
489
" Expecting plugin execution to fail for version ${unsupportedVersion} " +
490
- " as it is lower than the supported one (${VaadinPlugin .GRADLE_MINIMUM_SUPPORTED_VERSION } )"
490
+ " as it is lower than the supported one (${FlowPlugin .GRADLE_MINIMUM_SUPPORTED_VERSION } )"
491
491
)
492
492
assertContains(
493
493
result.output,
0 commit comments