Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Commit

Permalink
Depends only on necessary code (common artifact) (#5)
Browse files Browse the repository at this point in the history
* Depends only on necessary code (common artifact)

* Adds needed dependencies
  • Loading branch information
juanpedromoreno committed Oct 10, 2017
1 parent 920648f commit 1e6af9b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
9 changes: 8 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,11 @@ lazy val core = project
.in(file("core"))
.settings(moduleName := "frees-protogen-core")
.settings(scalaMetaSettings: _*)
.settings(libraryDependencies += "io.frees" %% "frees-rpc" % "0.0.6")
.settings(
libraryDependencies ++= Seq(
"io.frees" %% "frees-rpc-common" % "0.0.7",
%%("cats-core"),
%%("scalameta-contrib", "1.8.0"),
%%("simulacrum")
)
)
11 changes: 1 addition & 10 deletions plugin/src/main/scala/ProtoGenPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ object ProtoGenPlugin extends AutoPlugin {

import autoImport._

lazy val thisBuildSettings: Seq[Def.Setting[_]] = Seq(
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases"),
Resolver.bintrayRepo("beyondthelines", "maven")
)
)

lazy val defaultSettings: Seq[Def.Setting[_]] = Seq(
protoGenSourceDir := baseDirectory.value / "src" / "main" / "scala",
protoGenTargetDir := baseDirectory.value / "src" / "main" / "proto"
Expand All @@ -69,6 +61,5 @@ object ProtoGenPlugin extends AutoPlugin {
}
)

override def projectSettings: Seq[Def.Setting[_]] =
thisBuildSettings ++ defaultSettings ++ protoGenTaskSettings
override def projectSettings: Seq[Def.Setting[_]] = defaultSettings ++ protoGenTaskSettings
}
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.0.9-SNAPSHOT"
version in ThisBuild := "0.0.9"

0 comments on commit 1e6af9b

Please sign in to comment.