Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Add publishSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
xcorpio committed Sep 3, 2019
1 parent 9524f88 commit b824844
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ lazy val root = Project("asura", file("."))
// Sub Projects
def asuraProjects(id: String) = Project(id, file(id))
.settings(commonSettings: _*)
.settings(publishSettings: _*)

lazy val app = asuraProjects("asura-app")
.enablePlugins(PlayScala)
Expand All @@ -34,21 +35,17 @@ lazy val example = asuraProjects("asura-example")

lazy val play = asuraProjects("asura-play")
.settings(libraryDependencies ++= appPlayDeps)
.settings(publishSettings: _*)
.dependsOn(common % "compile->compile;test->test")

lazy val common = asuraProjects("asura-common")
.settings(libraryDependencies ++= commonDependencies)
.settings(publishSettings: _*)

lazy val cluster = asuraProjects("asura-cluster")
.settings(libraryDependencies ++= clusterDependencies)
.settings(publishSettings: _*)
.dependsOn(common % "compile->compile;test->test")

lazy val core = asuraProjects("asura-core")
.settings(libraryDependencies ++= coreDependencies)
.settings(publishSettings: _*)
.dependsOn(
common % "compile->compile;test->test",
dubbo % "compile->compile;test->test",
Expand All @@ -57,17 +54,14 @@ lazy val core = asuraProjects("asura-core")

lazy val namerd = asuraProjects("asura-namerd")
.settings(libraryDependencies ++= namerdDependencies)
.settings(publishSettings: _*)
.dependsOn(common % "compile->compile;test->test")

lazy val dubbo = asuraProjects("asura-dubbo")
.settings(libraryDependencies ++= dubboDependencies)
.settings(publishSettings: _*)
.dependsOn(common % "compile->compile;test->test")

lazy val kafka = asuraProjects("asura-kafka")
.settings(libraryDependencies ++= kafkaDependencies)
.settings(publishSettings: _*)
.dependsOn(common % "compile->compile;test->test")

// release
Expand Down

0 comments on commit b824844

Please sign in to comment.