Packages

o

sbt

Package

object Package

Package

This module provides an API to package jar files.

Source
Package.scala
See also

https://docs.oracle.com/javase/tutorial/deployment/jar/index.html

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

Type Members

  1. final class Configuration extends AnyRef

    The jar package configuration.

    The jar package configuration. Contains all relevant information to create a jar file.

  2. final case class JarManifest(m: Manifest) extends PackageOption with Product with Serializable
  3. final case class MainClass(mainClassName: String) extends PackageOption with Product with Serializable
  4. final case class ManifestAttributes(attributes: (Name, String)*) extends PackageOption with Product with Serializable

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 ManifestAttributes(attributes: (String, String)*): ManifestAttributes
  5. def addImplManifestAttributes(name: String, version: String, homepage: Option[URL], org: String, orgName: String): PackageOption
  6. def addSpecManifestAttributes(name: String, version: String, orgName: String): PackageOption
  7. def apply(conf: Configuration, cacheStoreFactory: CacheStoreFactory, log: Logger, time: Option[Long]): Unit

    conf

    the package configuration that should be build

    cacheStoreFactory

    used for jar caching. We try to avoid rebuilds as much as possible

    log

    feedback for the user

    time

    static timestamp to use for all entries, if any.

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  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. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def makeJar(sources: Seq[(File, String)], jar: File, manifest: Manifest, log: Logger, time: Option[Long]): Unit
  17. implicit def manifestFormat: JsonFormat[Manifest]
  18. def mergeAttributes(a1: Attributes, a2: Attributes): Map[AnyRef, AnyRef]
  19. def mergeManifests(manifest: Manifest, mergeManifest: Manifest): Unit
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def setVersion(main: Attributes): Unit

    updates the manifest version is there is none present.

    updates the manifest version is there is none present.

    main

    the current jar attributes

  24. def sourcesDebugString(sources: Seq[(File, String)]): String
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def apply(conf: Configuration, cacheStoreFactory: CacheStoreFactory, log: Logger): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Please specify whether to use a static timestamp

  2. def makeJar(sources: Seq[(File, String)], jar: File, manifest: Manifest, log: Logger): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) Please specify whether to use a static timestamp

Inherited from AnyRef

Inherited from Any

Ungrouped