Skip to content

Commit e93d554

Browse files
Mockito as Java and Kotlin only feature. (#1546)
1 parent a5159dc commit e93d554

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

buildSrc/src/main/groovy/io/micronaut/guides/GuideProjectGenerator.groovy

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ class GuideProjectGenerator implements AutoCloseable {
133133
appFeatures.remove('graalvm')
134134
}
135135

136-
if (testFramework == SPOCK) {
137-
appFeatures.remove('mockito')
138-
}
139-
140136
// typical guides use 'default' as name, multi-project guides have different modules
141137
String folder = folderName(metadata.slug(), guidesOption)
142138

guides/micronaut-rabbitmq/metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"apps": [
99
{
1010
"name": "books",
11-
"features": ["yaml", "rabbitmq", "mockito", "reactor", "serialization-jackson"],
12-
"javaFeatures": ["graalvm"],
13-
"kotlinFeatures": ["graalvm", "kapt"]
11+
"features": ["yaml", "rabbitmq", "reactor", "serialization-jackson"],
12+
"javaFeatures": ["graalvm", "mockito"],
13+
"kotlinFeatures": ["graalvm", "kapt", "mockito"]
1414
},
1515
{
1616
"name": "analytics",

0 commit comments

Comments
 (0)