SbtNativePackager
==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 <[email protected]>"
packageDescription := "A short description of your application"
For all other general settings take a look at com.typesafe.sbt.packager.NativePackagerKeys
Attributes
- Example
-
Enable the plugin in the
build.sbt
enablePlugins(SbtNativePackager)
- Graph
-
- Supertypes
-
class AutoPlugintrait PluginsFunctionsclass Basictrait Pluginsclass Objecttrait Matchableclass AnyShow all
- Self type
-
SbtNativePackager.type
Members list
Type members
Classlikes
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.
Attributes
- Supertypes
- Self type
-
autoImport.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
packageArchetype.type
Value members
Inherited methods
Attributes
- Inherited from:
- Basic
This plugin is activated when all required plugins are present.
This plugin is activated when all required plugins are present.
Attributes
- Inherited from:
- PluginsFunctions
The Setting
to add to the build scope for each project that activates this AutoPlugin. The settings returned here are guaranteed to be added to a given build scope only once regardless of how many projects for that build activate this AutoPlugin.
The Setting
to add to the build scope for each project that activates this AutoPlugin. The settings returned here are guaranteed to be added to a given build scope only once regardless of how many projects for that build activate this AutoPlugin.
Attributes
- Inherited from:
- AutoPlugin
The Projects to add to the current build based on an existing project.
The Projects to add to the current build based on an existing project.
Attributes
- Inherited from:
- AutoPlugin
Plugins instance that doesn't require any Pluginss.
Plugins instance that doesn't require any Pluginss.
Attributes
- Inherited from:
- PluginsFunctions
The Projects to add to the current build.
The Projects to add to the current build.
Attributes
- Inherited from:
- AutoPlugin
The Setting
s to add to the global scope exactly once if any project activates this AutoPlugin.
The Setting
s to add to the global scope exactly once if any project activates this AutoPlugin.
Attributes
- Inherited from:
- AutoPlugin
This plugin is activated only when it is manually activated.
This plugin is activated only when it is manually activated.
Attributes
- Inherited from:
- PluginsFunctions
The Configuration
s to add to each project that activates this AutoPlugin.
The Configuration
s to add to each project that activates this AutoPlugin.
Attributes
- Inherited from:
- AutoPlugin
This AutoPlugin requires the plugins the Plugins matcher returned by this method. See trigger.
This AutoPlugin requires the plugins the Plugins matcher returned by this method. See trigger.
Attributes
- Inherited from:
- AutoPlugin
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
AutoPlugin -> Any
- Inherited from:
- AutoPlugin
Determines whether this AutoPlugin will be activated for this project when the requires
clause is satisfied.
Determines whether this AutoPlugin will be activated for this project when the requires
clause is satisfied.
When this method returns allRequirements
, and requires
method returns Web && Javascript
, this plugin instance will be added automatically if the Web
and Javascript
plugins are enabled.
When this method returns noTrigger
, and requires
method returns Web && Javascript
, this plugin instance will be added only if the build user enables it, but it will automatically add both Web
and Javascript
.
Attributes
- Inherited from:
- AutoPlugin
Concrete fields
The Setting
s to add in the scope of each project that activates this AutoPlugin.
The Setting
s to add in the scope of each project that activates this AutoPlugin.
Attributes
Inherited fields
Attributes
- Inherited from:
- AutoPlugin