o

sbtassembly

Assembly

object Assembly

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Assembly
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Dependency extends AnyRef

    Represents a Dependency that is an assembly jar candidate

  2. case class JarEntry(target: String, stream: LazyInputStream) extends Product with Serializable

    Represents an assembly jar entry

    Represents an assembly jar entry

    target

    the path to write in the jar

    stream

    the byte payload

  3. type LazyInputStream = () ⇒ InputStream
  4. case class Library(moduleCoord: ModuleCoordinate, source: String, target: String, stream: LazyInputStream) extends Dependency with Product with Serializable

    Represents an entry of an external/library dependency jar

    Represents an entry of an external/library dependency jar

    moduleCoord

    the library's organization, name and version (i.e. Maven GAV)

    source

    the original source path in the jar, before applying assembly processing (shading, merging, etc)

    target

    the target path to be written to the assembly jar, after applying assembly processing (shading, merging, etc)

    stream

    a lazy payload of bytes that represents the actual content to be written

  5. case class MergedEntry(entries: Vector[JarEntry], origins: Vector[Dependency], mergeStrategy: MergeStrategy) extends Product with Serializable

    Encapsulates the result of applying a merge strategy

    Encapsulates the result of applying a merge strategy

    entries

    the resulting JarEntrys

    origins

    the original Dependencys that were merged

    mergeStrategy

    the MergeStrategy applied

  6. case class ModuleCoordinate(organization: String = "", name: String, version: String = "") extends Product with Serializable

    Represents an external/library JAR (i.e.

    Represents an external/library JAR (i.e. Maven GAV)

    organization

    jar org

    name

    jar name

    version

    jar version

  7. case class Project(name: String, source: String, target: String, stream: LazyInputStream) extends Dependency with Product with Serializable

    Represents an internal/project dependency

    Represents an internal/project dependency

    name

    the sbt project name

    source

    the original source path, before applying assembly processing (shading, merging, etc)

    target

    the target path to be written to the assembly jar, after applying assembly processing (shading, merging, etc)

    stream

    a lazy payload of bytes that represents the actual content to be written

  8. type SeqShadeRules = Seq[ShadeRule]
  9. type SeqString = Seq[String]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def assemble(targetJarName: String, output: sbt.File, classpath: Classpath, externalDepClasspath: Classpath, ao: AssemblyOption, po: Seq[PackageOption], cacheDir: sbt.File, log: sbt.Logger): sbt.File

    Builds an assembly jar

    Builds an assembly jar

    targetJarName

    the name of the jar to build

    output

    the path of the jar to build

    classpath

    full classpath of the project and all its external dependencies

    externalDepClasspath

    the external dependency classpath

    ao

    assembly options configured via the build

    po

    package options configured via the build

    cacheDir

    the task cache directory

    log

    the sbt logger

    returns

    the built jar as an sbt.File

  6. val assemblyTag: Tag
  7. def assemblyTask(key: TaskKey[sbt.File]): sbt.Def.Initialize[Task[sbt.File]]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. val defaultShadeRules: Seq[ShadeRule]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val indent: String
  16. def isConfigFile(fileName: String): Boolean

    Returns a flag if the given file is a config file

    Returns a flag if the given file is a config file

    fileName

    the given file to check

    returns

    flag representing if the file is a config file

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isLicenseFile(fileName: String): Boolean

    Returns a flag if the given file is a license file

    Returns a flag if the given file is a license file

    fileName

    the given file to check

    returns

    flag representing if the file is a license file

  19. def isReadme(fileName: String): Boolean

    Returns a flag if the given file is a readme file

    Returns a flag if the given file is a readme file

    fileName

    the given file to check

    returns

    flag representing if the file is a readme file

  20. def isScalaLibraryFile(scalaLibraries: Vector[String], file: sbt.File): Boolean

    Returns a flag if the given file is part of the Scala library

    Returns a flag if the given file is part of the Scala library

    scalaLibraries

    the Scala library as a collection

    file

    the given file to check

    returns

    flag representing if the file is a Scala library

  21. def isSystemJunkFile(fileName: String): Boolean

    Returns a flag if the given file is a junk file

    Returns a flag if the given file is a junk file

    fileName

    the given file to check

    returns

    flag representing if the file is a junk file

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. val newLine: String
  24. val newLineIndented: String
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped