title: Getting sbt-assembly working
body: <p>So thus far I've been compiling my Scala project with SBT (via Typesafe stack). I want to run the code across several machines now, via <a href="https://github.com/sbt/sbt-assembly" rel="noreferrer">sbt-assembly</a>. Following directions, the only one change I made was in my <code>project/Build.scala</code> file. Here is the related part:</p>
  
  <pre><code>resolvers += "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases",
  resolvers += "artifactory" at "http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases",
  libraryDependencies += "com.eed3si9n" % "sbt-assembly" % "0.8.3"
  </code></pre>
  
  <p>When I run <code>sbt compile</code> however, I get this error:</p>
  
  <p><code>sbt.ResolveException: unresolved dependency: com.eed3si9n#sbt-assembly/scala_2.9.1/sbt_0.11.2;0.8.3: not found</code>.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks!</p>
  
  <p><em>EDIT</em>
  Created a <code>build.sbt</code> file in the same folder as <code>Build.scala</code> (folder is <code>/project/</code>) and have these two lines in it:</p>
  
  <pre><code>Seq[Setting[_]](resolvers += "artifactory" at "http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases",
                  addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.8.3"))
  </code></pre>
  
  <p>Now the error is:</p>
  
  <pre><code>[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
  [warn]  ::          UNRESOLVED DEPENDENCIES         ::
  [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
  [warn]  :: com.eed3si9n#sbt-assembly;0.8.3: not found
  [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
  [warn] 
  [warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
  [warn]      com.eed3si9n:sbt-assembly:0.8.3 (sbtVersion=0.11.2, scalaVersion=2.9.1)
  [warn] 
  [error] {file:/Users/myname/current/projectname/project/}default-d7da9a/*:update: sbt.ResolveException: unresolved dependency: com.eed3si9n#sbt-assembly;0.8.3: not found
  </code></pre>
  
  <p><em>EDIT 2</em>
  Hm, after I do a successful <code>sbt compile</code>, should I just be able to enter the <code>sbt</code> console and type in <code>assembly</code>?</p>
  
  <pre><code>&gt; assembly
  [error] Not a valid command: assembly
  [error] Not a valid project ID: assembly
  [error] Not a valid configuration: assembly
  [error] Not a valid key: assembly
  [error] assembly
  [error]   
  </code></pre>
  
  <p><em>EDIT 3</em> JK got it. Had to add the <code>build.sbt</code> info as specified in the GitHub README.</p>