Created
September 19, 2011 22:01
-
-
Save gseitz/1227745 to your computer and use it in GitHub Desktop.
mini sbt-protobuf-scalabuf setup
This file contains hidden or 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
import sbt._ | |
import Keys._ | |
import ProtobufPlugin._ | |
object build extends Build { | |
// ... the usual project setup stuff thingly | |
settings = Defaults.defaultSettings ++ protobufSettings ++ Seq( | |
scalaSource in protobufConfig <<= (sourceDirectory)(_ / "generated_scala") | |
) | |
} |
This file contains hidden or 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
// ./project/plugins/build.sbt | |
resolvers += "gseitz @ github" at "http://gseitz.github.com/maven/" | |
addSbtPlugin("com.github.gseitz" % "sbt-protobuf-scalabuff" % "0.3-SNAPSHOT") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment