diff --git a/functional-tests/src/test/groovy/io/micronaut/gradle/FullMicronautRuntimeSpec.groovy b/functional-tests/src/test/groovy/io/micronaut/gradle/FullMicronautRuntimeSpec.groovy index 072f14c62..0631647f8 100644 --- a/functional-tests/src/test/groovy/io/micronaut/gradle/FullMicronautRuntimeSpec.groovy +++ b/functional-tests/src/test/groovy/io/micronaut/gradle/FullMicronautRuntimeSpec.groovy @@ -10,6 +10,7 @@ class FullMicronautRuntimeSpec extends AbstractEagerConfiguringFunctionalTest { def "test execute tests for application for runtime: #runtime"() { given: settingsFile << "rootProject.name = 'hello-world'" + baseDir.resolve("gradle.properties").toFile() << "micronautServletVersion = 4.11.1" buildFile << """ plugins { id "io.micronaut.application" diff --git a/minimal-plugin/src/test/groovy/io/micronaut/gradle/MicronautRuntimeSpec.groovy b/minimal-plugin/src/test/groovy/io/micronaut/gradle/MicronautRuntimeSpec.groovy index 708296c40..f5bc3454b 100644 --- a/minimal-plugin/src/test/groovy/io/micronaut/gradle/MicronautRuntimeSpec.groovy +++ b/minimal-plugin/src/test/groovy/io/micronaut/gradle/MicronautRuntimeSpec.groovy @@ -10,6 +10,7 @@ class MicronautRuntimeSpec extends AbstractGradleBuildSpec { def "test execute tests for application for runtime: #runtime"() { given: settingsFile << "rootProject.name = 'hello-world'" + baseDir.resolve("gradle.properties").toFile() << "micronautServletVersion = 4.11.1" buildFile << """ plugins { id "io.micronaut.minimal.application" diff --git a/minimal-plugin/src/testFixtures/groovy/io/micronaut/gradle/AbstractGradleBuildSpec.groovy b/minimal-plugin/src/testFixtures/groovy/io/micronaut/gradle/AbstractGradleBuildSpec.groovy index 6a7a6051a..a4937fff7 100644 --- a/minimal-plugin/src/testFixtures/groovy/io/micronaut/gradle/AbstractGradleBuildSpec.groovy +++ b/minimal-plugin/src/testFixtures/groovy/io/micronaut/gradle/AbstractGradleBuildSpec.groovy @@ -30,7 +30,7 @@ abstract class AbstractGradleBuildSpec extends Specification { return false } - boolean allowSnapshots = false + boolean allowSnapshots = true // This flag is only for local tests, do not push with this flag set to true boolean allowMavenLocal = false