RepackageModule

mill.javalib.repackage.RepackageModule
@Scaladoc(value = "/**\n * Support to produce self-executable assemblies with the `Repackager` from the Spring Boot Tools suite\n * (https://docs.spring.io/spring-boot/build-tool-plugin/index.html).\n *\n * This is an alternative to the [[mill.scalalib.AssemblyModule]].\n */")
trait RepackageModule extends Module

Support to produce self-executable assemblies with the Repackager from the Spring Boot Tools suite (https://docs.spring.io/spring-boot/build-tool-plugin/index.html).

This is an alternative to the mill.scalalib.AssemblyModule.

Attributes

Source
RepackageModule.scala
Graph
Supertypes
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

@Scaladoc(value = "/**\n * Miscellaneous machinery around traversing & querying the build hierarchy,\n * that should not be needed by normal users of Mill\n */")
object moduleInternal extends Internal

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

Attributes

Inherited from:
Module
Source
Module.scala
Supertypes
class Internal
class Object
trait Matchable
class Any

Value members

Concrete methods

@Scaladoc(value = "/**\n * The Class holding the Application entrypoint.\n * This uses the [[RunModule.mainClass]] (if defined) or falls back to auto-detection of a `SpringBootApplication` class.\n */")
def repackageMainClass: Target[String]

The Class holding the Application entrypoint. This uses the RunModule.mainClass (if defined) or falls back to auto-detection of a SpringBootApplication class.

The Class holding the Application entrypoint. This uses the RunModule.mainClass (if defined) or falls back to auto-detection of a SpringBootApplication class.

Attributes

Source
RepackageModule.scala
@Scaladoc(value = "/**\n * A script prepended to the resulting [[repackagedJar]] to make it executable.\n * This uses the same prepend script as Mill [[JavaModule]] does,\n * so it supports most Linux/Unix shells (probably not `fish`)\n * as well as Windows cmd shell (the file needs a `.bat` or `.cmd` extension).\n * Set it to [[None]] if you don\'t want an executable JAR.\n */")
def repackagePrependScript: Target[Option[String]]

A script prepended to the resulting repackagedJar to make it executable. This uses the same prepend script as Mill JavaModule does, so it supports most Linux/Unix shells (probably not fish) as well as Windows cmd shell (the file needs a .bat or .cmd extension). Set it to None if you don't want an executable JAR.

A script prepended to the resulting repackagedJar to make it executable. This uses the same prepend script as Mill JavaModule does, so it supports most Linux/Unix shells (probably not fish) as well as Windows cmd shell (the file needs a .bat or .cmd extension). Set it to None if you don't want an executable JAR.

Attributes

Source
RepackageModule.scala
@Scaladoc(value = "/** The upstream Module dependencies as JARs, to be embedded in the [[repackagedJar]]. */")

The upstream Module dependencies as JARs, to be embedded in the repackagedJar.

The upstream Module dependencies as JARs, to be embedded in the repackagedJar.

Attributes

Source
RepackageModule.scala
@Scaladoc(value = "/** The upstream Maven dependencies as JARs, to be embedded in the [[repackagedJar]]. */")

The upstream Maven dependencies as JARs, to be embedded in the repackagedJar.

The upstream Maven dependencies as JARs, to be embedded in the repackagedJar.

Attributes

Source
RepackageModule.scala
@Scaladoc(value = "/**\n * The Module holding the Spring Boot tools.\n */")

The Module holding the Spring Boot tools.

The Module holding the Spring Boot tools.

Attributes

Source
RepackageModule.scala

Inherited methods

Attributes

Inherited from:
BaseClass
Source
Module.scala
def moduleDir: Path

Attributes

Inherited from:
Module
Source
Module.scala
def moduleDirJava: Path

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala

Attributes

Inherited from:
Module
Source
Module.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Module -> Any
Inherited from:
Module
Source
Module.scala

Implicits

Inherited implicits

implicit def moduleNestedCtx: Nested

Attributes

Inherited from:
Module
Source
Module.scala