Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package typesafe
    Definition Classes
    com
  • package sbt
    Definition Classes
    typesafe
  • object SbtNativePackager extends AutoPlugin

    This is the top level plugin for the sbt native packager.

    SBT Native Packager Plugin

    This is the top level plugin for the sbt native packager. You don't have to enable this by yourself, instead we recommend using an archetype for this.

    Currently you can choose between

    • JavaAppPackaging
    • JavaServerPackaging
    • AkkaAppPackging

    Configuration

    The are a few settings you should set if you want to build package no matter what format.

    maintainer := "Your name <your.name@your-company.org>"
    packageDescription := "A short description of your application"

    For all other general settings take a look at com.typesafe.sbt.packager.NativePackagerKeys

    Definition Classes
    sbt
    Example:
    1. Enable the plugin in the build.sbt

      enablePlugins(SbtNativePackager)
  • autoImport
  • packageArchetype

object autoImport extends NativePackagerKeys

imports all com.typesafe.sbt.packager.NativePackagerKeys and two objects:

NativePackagerKeys

This inclues all available keys provided by the sbt-native-packager. Used it if a setting/task key is not in scope.

NativePackagerKeys.notAutomaticallyImported := "cool!"
NativePackagerHelper

This object contains a set of helper methods for working with mappings.

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

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. val NativePackagerHelper: MappingsHelper.type
  5. val NativePackagerKeys: Keys.type
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. val executableScriptName: SettingKey[String]
    Definition Classes
    NativePackagerKeys
  11. def finalize(): Unit
    Attributes
    protected[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. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val maintainer: SettingKey[String]
    Definition Classes
    NativePackagerKeys
  16. val maintainerScripts: TaskKey[Map[String, Seq[String]]]
    Definition Classes
    NativePackagerKeys
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val packageDescription: SettingKey[String]
    Definition Classes
    NativePackagerKeys
  21. val packageName: SettingKey[String]
    Definition Classes
    NativePackagerKeys
  22. val packageSummary: SettingKey[String]
    Definition Classes
    NativePackagerKeys
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def deploymentSettings: Seq[sbt.Setting[_]]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.x) Use enablePlugins(xxxDeployPlugin)

Inherited from NativePackagerKeys

Inherited from AnyRef

Inherited from Any

Ungrouped