Skip to content

Instantly share code, notes, and snippets.

@j5ik2o j5ik2o/gist:950158
Created May 1, 2011

Embed
What would you like to do?
sbt-ideaの設定方法
// 1. $PROJECT_ROOT/project/build/MyProject.scalaを作る。IdeaProjectをミックスインする。
import sbt._
class MyProject(info: ProjectInfo) extends DefaultProject(info) with IdeaProject{
}
// 2. $PROJECT_ROOT/project/plugins/Plugins.scalaを以下のように作る。
import sbt._
class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
val sbtIdeaRepo = "sbt-idea-repo" at "http://mpeltonen.github.com/maven/"
val sbtIdea = "com.github.mpeltonen" % "sbt-idea-plugin" % "0.4.0"
}
$ sbt update
$ sbt idea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.