mill.groovylib

package mill.groovylib

Groovy toolchain containing GroovyModule and other functionality related to building Groovy projects.

Attributes

Members list

Type members

Classlikes

A GroovyModule with a Maven compatible directory layout: src/main/groovy, src/main/resources, etc.

A GroovyModule with a Maven compatible directory layout: src/main/groovy, src/main/resources, etc.

Attributes

Source
GroovyMavenModule.scala
Supertypes
trait MavenModule
trait GroovyModule
trait JavaModule
trait RunModule
trait RunModuleApi
trait BspModule
trait BspModuleApi
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all

Core configuration required to compile a single Groovy module.

Core configuration required to compile a single Groovy module.

Resolves

Attributes

Companion
object
Source
GroovyModule.scala
Supertypes
trait JavaModule
trait RunModule
trait RunModuleApi
trait BspModule
trait BspModuleApi
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Known subtypes
Self type
object GroovyModule

Attributes

Companion
trait
Source
GroovyModule.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Source
GroovyWorkerManager.scala
Supertypes
class CachedFactoryBase[Seq[PathRef], Seq[PathRef], Unit, GroovyWorker]
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
GroovyWorkerManager.scala
Supertypes
class RootModule0
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Self type

Convenience trait for projects using Java for production and Groovy for tests in a Maven setup.

Convenience trait for projects using Java for production and Groovy for tests in a Maven setup.

Since GroovyModule.GroovyTests is only available as a child-trait, it is necessary to have the main module as a GroovyModule, which would implicitly add Groovy dependencies to the module. This trait explicitly uses Java with a Maven layout for the main module and enables src/test/groovy as a source folder for Groovy tests.

   object `package` extends JavaMavenModuleWithGroovyTests {

     object `test` extends GroovyMavenTests with TestModule.Spock {
       override def groovyVersion: T[String] = "4.0.28"
       override def spockVersion: T[String] = "2.3-groovy-4"
     }
   }

Note: for non-Maven layouts this is not necessary, since the test module can just be a GroovyModule.

Attributes

Source
JavaMavenModuleWithGroovyTests.scala
Supertypes
trait MavenModule
trait JavaModule
trait RunModule
trait RunModuleApi
trait BspModule
trait BspModuleApi
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
object Versions

Attributes

Source
Versions.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Versions.type

Exports

Defined exports

final val Dep: Dep
Exported from javalib

Attributes

Source
exports.scala
final type Dep = Dep
Exported from javalib

Attributes

Source
exports.scala
final type DepSyntax = DepSyntax
Exported from package$

Attributes

Source
exports.scala
Exported from javalib

Attributes

Source
exports.scala
Exported from javalib

Attributes

Source
exports.scala
Exported from javalib

Attributes

Source
exports.scala
Exported from javalib

Attributes

Source
exports.scala
Exported from javalib

Attributes

Source
exports.scala
Exported from javalib

Attributes

Source
exports.scala
final val TestModule: TestModule
Exported from javalib

Attributes

Source
exports.scala
final type TestModule = TestModule
Exported from javalib

Attributes

Source
exports.scala