build: del spock workaround which required servlet
@@ -128,10 +128,6 @@ dependencies {
@if (features.contains("google-cloud-function")) {
@if (features.contains("google-cloud-function-http")) {
@dependency.template("io.micronaut.gcp", "micronaut-gcp-function-http", "implementation", null)
- @if (features.language().isGroovy() && features.testFramework().isSpock()) {
- // required due to a Spock compiler bug
- @dependency.template("io.micronaut.servlet", "micronaut-servlet-core", "testImplementation", null)
- }
} else {
@dependency.template("io.micronaut.gcp", "micronaut-gcp-function", "implementation", null)
}
@@ -140,10 +136,6 @@ dependencies {
@dependency.template("com.microsoft.azure.functions", "azure-functions-java-library", "implementation", null)
@if (features.contains("azure-function-http")) {
@dependency.template("io.micronaut.azure", "micronaut-azure-function-http", "implementation", null)
- @if (features.language().isGroovy() && features.testFramework().isSpock()) {
- // required due to a Spock compiler bug
- @dependency.template("io.micronaut.servlet", "micronaut-servlet-core", "testImplementation", null)
- }
} else {
@dependency.template("io.micronaut.azure", "micronaut-azure-function", "implementation", null)
}
