Created
May 16, 2017 12:20
-
-
Save jeffreyolchovy/27490a0a90703783e3610f56c721fbff to your computer and use it in GitHub Desktop.
This file contains 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
lazy val root = (project in file(".")) | |
.aggregate(plugin, library) | |
.enablePlugins(CrossPerProjectPlugin) | |
lazy val plugin = (project in file("plugin")) | |
.settings(scriptedSettings: _*) | |
.settings( | |
name := "sbt-tweeter", | |
sbtPlugin := true, | |
scalaVersion := "2.10.6", | |
scriptedLaunchOpts ++= Seq("-Dplugin.version=" + version.value), | |
scriptedBufferLog := false, | |
publishLocal := publishLocal.dependsOn(publishLocal in library).value | |
) | |
.dependsOn(library) | |
lazy val library = (project in file("library")) | |
.settings( | |
name := "tweeter-core", | |
scalaVersion := "2.10.6", | |
crossScalaVersions ++= Seq("2.11.11", "2.12.2"), | |
libraryDependencies ++= Seq( | |
"org.twitter4j" % "twitter4j-core" % "4.0.0", | |
"org.scalatest" %% "scalatest" % "3.0.0" % Test | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment