-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
969 additions
and
850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,24 +8,18 @@ import sbt._ | |
import sbt.Keys.{name, normalizedName, packageBin, streams} | ||
|
||
/** | ||
* == SBT Native Packager Plugin == | ||
* ==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. | ||
* 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 | ||
* | ||
* <ul> | ||
* <li>JavaAppPackaging</li> | ||
* <li>JavaServerPackaging</li> | ||
* <li>AkkaAppPackging</li> | ||
* </ul> | ||
* <ul> <li>JavaAppPackaging</li> <li>JavaServerPackaging</li> <li>AkkaAppPackging</li> </ul> | ||
* | ||
* == Configuration == | ||
* ==Configuration== | ||
* | ||
* The are a few settings you should set if you want to build package | ||
* no matter what format. | ||
* The are a few settings you should set if you want to build package no matter what format. | ||
* | ||
* {{{ | ||
* maintainer := "Your name <[email protected]>" | ||
|
@@ -34,10 +28,11 @@ import sbt.Keys.{name, normalizedName, packageBin, streams} | |
* | ||
* For all other general settings take a look at [[com.typesafe.sbt.packager.NativePackagerKeys]] | ||
* | ||
* @example Enable the plugin in the `build.sbt` | ||
* {{{ | ||
* @example | ||
* Enable the plugin in the `build.sbt` | ||
* {{{ | ||
* enablePlugins(SbtNativePackager) | ||
* }}} | ||
* }}} | ||
*/ | ||
object SbtNativePackager extends AutoPlugin { | ||
|
||
|
@@ -56,16 +51,16 @@ object SbtNativePackager extends AutoPlugin { | |
/** | ||
* imports all [[com.typesafe.sbt.packager.NativePackagerKeys]] and two objects: | ||
* | ||
* === NativePackagerKeys === | ||
* ===NativePackagerKeys=== | ||
* | ||
* This inclues ''all'' available keys provided by the sbt-native-packager. | ||
* Used it if a setting/task key is not in scope. | ||
* 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 === | ||
* ===NativePackagerHelper=== | ||
* | ||
* This object contains a set of helper methods for working with mappings. | ||
*/ | ||
|
@@ -106,7 +101,7 @@ object SbtNativePackager extends AutoPlugin { | |
object packageArchetype { | ||
|
||
/** | ||
* == Recommended usage == | ||
* ==Recommended usage== | ||
* | ||
* {{{ | ||
* enablePlugins(JavaAppPackaging) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.