Skip to content

Instantly share code, notes, and snippets.

@wataru420
Created February 7, 2012 12:44
Show Gist options
  • Save wataru420/1759527 to your computer and use it in GitHub Desktop.
Save wataru420/1759527 to your computer and use it in GitHub Desktop.
sbt-assembly
sbt.version=0.11.2
name := "sbtAssembly"
version := "1.0"
scalaVersion := "2.9.1"
seq(assemblySettings: _*)
object Main {
def main(args: Array[String]): Unit = {
println("Hello world")
}
}
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.7.2")
resolvers += Resolver.url("sbt-plugin-releases",
new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
.
├── build.sbt
├── main.scala
└── project
├── build.properties
└── plugin.sbt
1 directory, 4 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment