SBT Scala Assembly Plugin

Rinat Mukhamedgaliev

How to enable Assembly plugin on my repo. https://github.com/rmuhamedgaliev/skala-skeleton i tried fix them. But can't run this with command sbt assembly]

assembly [error] Not a valid command: assembly [error] Not a valid project ID: assembly [error] Expected ':' (if selecting a configuration) [error] Not a valid key: assembly [error] assembly [error] ^ exit

lpiepiora

You're missing some configuration (which is in details described here).

First you have to import sbtassembly.Plugin._ before importing AssemblyKeys.

import sbtassembly.Plugin._
import AssemblyKeys._

Then you have to add settings to your build (note extra assemblySettings):

lazy val root = Project(
  "root",
  file("."),
  settings = buildSettings ++ assemblySettings ++ Seq (
    libraryDependencies ++= rootDependencies
  )
)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

DeDuplication error with SBT assembly plugin

From Dev

DeDuplication error with SBT assembly plugin

From Dev

Scala code build with sbt assembly , failing

From Dev

Sbt-assembly unresolved dependency, Scala

From Dev

scala sbt assembly "no main manifest attribute"

From Dev

compile scala to assembly jar with SBT or gradle

From Dev

compile scala to assembly jar with SBT or gradle

From Dev

How to 'embed' SBT plugin in my Scala project

From Dev

Gradle Scala Plugin corollary to addCompilerPlugin in sbt

From Dev

How to exclude transitive dependency in Sbt ( in context of assembly plugin )?

From Dev

sbt assembly plugin includes "provided" libraries and it's lineage

From Dev

Scala SuperSafe Community Plugin artifact, sbt 0.13, scala 2.11.8 not resolving

From Dev

Spark - "sbt package" - "value $ is not a member of StringContext" - Missing Scala plugin?

From Dev

Sbt 0.13 plugin dependencies and scala-reflect.jar version clash

From Dev

Intellij sbt plugin with project definition in project/Build.scala

From Dev

How to log commands issued from Intellij with Scala plugin to SBT

From Dev

Should sbt-assembly perform a "maven-shade-plugin"-like relocation of classes?

From Dev

SBT assembly jar exclusion

From Dev

sbt assembly command not found

From Dev

trying to use sbt assembly

From Dev

SBT - Assembly (Scala - Neo4j), How to deal with this deduplicate issue?

From Dev

SBT - Assembly (Scala - Neo4j), How to deal with this deduplicate issue?

From Dev

Spark 2.0.0 streaming job packed with sbt-assembly lacks Scala runtime methods

From Dev

How to set-up the sbt-proguard plugin in Build.scala

From Dev

"./sbt/sbt assembly" errors "Not a valid command: assembly" for Apache Spark project

From Dev

Using a custom sbt plugin

From Dev

SBT Plugin that adds Plugins

From Dev

Using a custom sbt plugin

From Dev

sbt publish assembly jar with a pom

Related Related

  1. 1

    DeDuplication error with SBT assembly plugin

  2. 2

    DeDuplication error with SBT assembly plugin

  3. 3

    Scala code build with sbt assembly , failing

  4. 4

    Sbt-assembly unresolved dependency, Scala

  5. 5

    scala sbt assembly "no main manifest attribute"

  6. 6

    compile scala to assembly jar with SBT or gradle

  7. 7

    compile scala to assembly jar with SBT or gradle

  8. 8

    How to 'embed' SBT plugin in my Scala project

  9. 9

    Gradle Scala Plugin corollary to addCompilerPlugin in sbt

  10. 10

    How to exclude transitive dependency in Sbt ( in context of assembly plugin )?

  11. 11

    sbt assembly plugin includes "provided" libraries and it's lineage

  12. 12

    Scala SuperSafe Community Plugin artifact, sbt 0.13, scala 2.11.8 not resolving

  13. 13

    Spark - "sbt package" - "value $ is not a member of StringContext" - Missing Scala plugin?

  14. 14

    Sbt 0.13 plugin dependencies and scala-reflect.jar version clash

  15. 15

    Intellij sbt plugin with project definition in project/Build.scala

  16. 16

    How to log commands issued from Intellij with Scala plugin to SBT

  17. 17

    Should sbt-assembly perform a "maven-shade-plugin"-like relocation of classes?

  18. 18

    SBT assembly jar exclusion

  19. 19

    sbt assembly command not found

  20. 20

    trying to use sbt assembly

  21. 21

    SBT - Assembly (Scala - Neo4j), How to deal with this deduplicate issue?

  22. 22

    SBT - Assembly (Scala - Neo4j), How to deal with this deduplicate issue?

  23. 23

    Spark 2.0.0 streaming job packed with sbt-assembly lacks Scala runtime methods

  24. 24

    How to set-up the sbt-proguard plugin in Build.scala

  25. 25

    "./sbt/sbt assembly" errors "Not a valid command: assembly" for Apache Spark project

  26. 26

    Using a custom sbt plugin

  27. 27

    SBT Plugin that adds Plugins

  28. 28

    Using a custom sbt plugin

  29. 29

    sbt publish assembly jar with a pom

HotTag

Archive