From 1463cee2a45a32bd5465b51c86096b8730a8422c Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Mon, 24 Jul 2017 20:29:08 +0900 Subject: [PATCH] Log bundle plugins downloading --- build.sbt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index b775106b4..081d2cefa 100644 --- a/build.sbt +++ b/build.sbt @@ -152,8 +152,9 @@ executableKey := { val json = IO read(Keys.baseDirectory.value / "plugins.json") PluginsJson.parse(json).foreach { case (plugin, version) => - IO download(new java.net.URL(s"https://github.com/gitbucket/${plugin}/releases/download/${version}/${plugin}_${scalaBinaryVersion.value}-${version}.jar"), - pluginsDir / s"${plugin}_${scalaBinaryVersion.value}-${version}.jar") + val url = s"https://github.com/gitbucket/${plugin}/releases/download/${version}/${plugin}_${scalaBinaryVersion.value}-${version}.jar" + log info s"Download: ${url}" + IO download(new java.net.URL(url), pluginsDir / s"${plugin}_${scalaBinaryVersion.value}-${version}.jar") } // zip it up