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

Commit

Permalink
Fix Fetch task creating invalid plugins.sbt if no plugins exist
Browse files Browse the repository at this point in the history
  • Loading branch information
J0B10 committed Jul 18, 2019
1 parent 697f977 commit c2bbfad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/SbtFile.scala
Expand Up @@ -79,8 +79,8 @@ class SbtFile(var name: String, var version: String, var plugins: List[Plugin],
} }


if (defineRoot) { if (defineRoot) {
var rootLine = "\n\nlazy val root = (project in file(\".\")).aggregate(apiProject,%s)" var rootLine = "\n\nlazy val root = (project in file(\".\")).aggregate(%s)"
.format(plugins.map(_.normalizedName).mkString(", ")) .format(("apiProject" +: plugins.map(_.normalizedName)).mkString(", "))


if (apiProjectPath != "") { if (apiProjectPath != "") {
rootLine += ".dependsOn(apiProject)" rootLine += ".dependsOn(apiProject)"
Expand Down

0 comments on commit c2bbfad

Please sign in to comment.