sealed trait MergeStrategy extends (Vector[Dependency]) ⇒ Either[String, Vector[JarEntry]]

Merges dependencies that share the same target path or transforms them before adding to the assembly

Return a Right[Vector[JarEntry]]] for a successful merge or a Left[String] of an error message to fail the process

Linear Supertypes
(Vector[Dependency]) ⇒ Either[String, Vector[JarEntry]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MergeStrategy
  2. Function1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(v1: Vector[Dependency]): Either[String, Vector[JarEntry]]
    Definition Classes
    Function1
  2. abstract def name: String

    A descriptive name of the merge strategy which will be used in logging the merge results

  3. abstract def notifyThreshold: Int

    Report the merge counts only if the number of files to be merged are >= this threshold

    Report the merge counts only if the number of files to be merged are >= this threshold

    returns

    the threshold

Concrete 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. def andThen[A](g: (Either[String, Vector[JarEntry]]) ⇒ A): (Vector[Dependency]) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def compose[A](g: (A) ⇒ Vector[Dependency]): (A) ⇒ Either[String, Vector[JarEntry]]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. def detailLogLevel: sbt.util.Level.Value

    Log details of the merge only if assembly / logLevel is set to this or a less-restrictive level

    Log details of the merge only if assembly / logLevel is set to this or a less-restrictive level

    returns

    the log level threshold for logging the details

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def isBuiltIn: Boolean

    Namespaces built-in strategies from user-provided ones

    Namespaces built-in strategies from user-provided ones

    returns

    if this merge strategy is a built-in/internal instance provided by the plugin

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def summaryLogLevel: sbt.util.Level.Value

    Log the summary message of the merge only if assembly / logLevel is set to this or a less-restrictive level

    Log the summary message of the merge only if assembly / logLevel is set to this or a less-restrictive level

    returns

    the log level threshold for logging the summary

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from (Vector[Dependency]) ⇒ Either[String, Vector[JarEntry]]

Inherited from AnyRef

Inherited from Any

Ungrouped