object Package
Package
This module provides an API to package jar files.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Package
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
final
class
Configuration extends AnyRef
The jar package configuration.
The jar package configuration. Contains all relevant information to create a jar file.
- final case class FixedTimestamp(value: Option[Long]) extends PackageOption with Product with Serializable
- final case class JarManifest(m: Manifest) extends PackageOption with Product with Serializable
- final case class MainClass(mainClassName: String) extends PackageOption with Product with Serializable
- final case class ManifestAttributes(attributes: (Name, String)*) extends PackageOption with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ManifestAttributes(attributes: (String, String)*): ManifestAttributes
- def addImplManifestAttributes(name: String, version: String, homepage: Option[URL], org: String, orgName: String): PackageOption
- def addSpecManifestAttributes(name: String, version: String, orgName: String): PackageOption
-
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.
-
def
apply(conf: Configuration, cacheStoreFactory: CacheStoreFactory, log: Logger): 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
defaultTimestamp: Option[Long]
by default we overwrite all timestamps in JAR to epoch time 2010-01-01 for repeatable build
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val fixed2010Timestamp: Option[Long]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def gitCommitDateTimestamp: Option[Long]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keepTimestamps: Option[Long]
- def makeJar(sources: Seq[(File, String)], jar: File, manifest: Manifest, log: Logger, time: Option[Long]): Unit
- implicit def manifestFormat: JsonFormat[Manifest]
- def mergeAttributes(a1: Attributes, a2: Attributes): Map[AnyRef, AnyRef]
- def mergeManifests(manifest: Manifest, mergeManifest: Manifest): Unit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def setFixedTimestamp(value: Option[Long]): PackageOption
-
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
- def sourcesDebugString(sources: Seq[(File, String)]): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def timeFromConfiguration(config: Configuration): Option[Long]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()