@@ -17,10 +17,10 @@ object HelloGroovyTests extends TestSuite {
17
17
18
18
object HelloGroovy extends TestRootModule {
19
19
20
- trait GroovyVersionCross extends GroovyModule with Cross .Module [String ]{
20
+ trait GroovyVersionCross extends GroovyModule with Cross .Module [String ] {
21
21
override def groovyVersion : Task .Simple [String ] = crossValue
22
22
}
23
-
23
+
24
24
lazy val millDiscover = Discover [this .type ]
25
25
26
26
// needed for a special test where only the tests are written in Groovy while appcode remains Java
@@ -44,7 +44,7 @@ object HelloGroovyTests extends TestSuite {
44
44
*/
45
45
object spock extends GroovyModule {
46
46
override def groovyVersion : T [String ] = groovy4Version
47
-
47
+
48
48
object tests extends GroovyTests with TestModule .Spock {
49
49
override def jupiterVersion : T [String ] = junit5Version
50
50
override def spockVersion : T [String ] = spockGroovy4Version
@@ -102,7 +102,7 @@ object HelloGroovyTests extends TestSuite {
102
102
override def junitPlatformVersion = " 1.13.4"
103
103
}
104
104
}
105
- object main extends Cross [Test ](groovyVersions)
105
+ object main extends Cross [Test ](groovyVersions)
106
106
}
107
107
108
108
val resourcePath = os.Path (sys.env(" MILL_TEST_RESOURCE_DIR" )) / " hello-groovy"
@@ -122,7 +122,7 @@ object HelloGroovyTests extends TestSuite {
122
122
test(" running a Groovy script" ) {
123
123
testEval().scoped { eval =>
124
124
main.crossModules.foreach(m => {
125
- val Right (_) = eval.apply(m.script.run()): @ unchecked
125
+ val Right (_) = eval.apply(m.script.run()): @ unchecked
126
126
})
127
127
}
128
128
}
0 commit comments