object SbtNativePackager extends AutoPlugin
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
Enable the plugin in the
build.sbtenablePlugins(SbtNativePackager)
Example:
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SbtNativePackager
- AutoPlugin
- PluginsFunctions
- Basic
- Plugins
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&&(o: Basic): Plugins
- Definition Classes
- Basic → Plugins
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Debian: sbt.Configuration
- val Docker: sbt.Configuration
- val Linux: sbt.Configuration
- val Rpm: sbt.Configuration
- val Universal: sbt.Configuration
- val UniversalDocs: sbt.Configuration
- val UniversalSrc: sbt.Configuration
- val Windows: sbt.Configuration
-
def
allRequirements: PluginTrigger
- Definition Classes
- PluginsFunctions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildSettings: Seq[sbt.Def.Setting[_]]
- Definition Classes
- AutoPlugin
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
derivedProjects(proj: ProjectDefinition[_]): Seq[Project]
- Definition Classes
- AutoPlugin
-
def
empty: Plugins
- Definition Classes
- PluginsFunctions
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extraProjects: Seq[Project]
- Definition Classes
- AutoPlugin
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
globalSettings: Seq[sbt.Def.Setting[_]]
- Definition Classes
- AutoPlugin
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
label: String
- Definition Classes
- AutoPlugin
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noTrigger: PluginTrigger
- Definition Classes
- PluginsFunctions
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
projectConfigurations: Seq[Configuration]
- Definition Classes
- AutoPlugin
-
lazy val
projectSettings: Seq[sbt.Def.Setting[_ >: Task[Unit] with Task[Seq[() ⇒ List[ValidationResult]]] with Task[Map[String, Seq[String]]] with String <: Serializable]]
- Definition Classes
- SbtNativePackager → AutoPlugin
-
def
requires: Plugins
- Definition Classes
- AutoPlugin
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AutoPlugin → AnyRef → Any
-
def
trigger: PluginTrigger
- Definition Classes
- AutoPlugin
-
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()
-
object
autoImport extends NativePackagerKeys
imports all com.typesafe.sbt.packager.NativePackagerKeys and two objects:
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.
- object packageArchetype