From a28663f06daa66efa2ff9f10f9f768e28a447fdc Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Tue, 24 Mar 2015 18:32:56 -0400 Subject: [PATCH] fix launcher re-publication. * The rebundled sbt launcher is now pushed into the old location again. --- build.sbt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 28a4359fa..c0b26f9fd 100644 --- a/build.sbt +++ b/build.sbt @@ -55,10 +55,17 @@ lazy val bundledLauncherProj = (project in file("launch")). settings(minimalSettings:_*). settings(inConfig(Compile)(Transform.configSettings):_*). + settings(Release.launcherSettings(sbtLaunchJar):_*). enablePlugins(SbtLauncherPlugin). settings( - publish := {}, - publishLocal := {} + name := "sbt-launch", + moduleName := "sbt-launch", + description := "sbt application launcher", + publishArtifact in packageSrc := false, + autoScalaLibrary := false, + publish := Release.deployLauncher.value, + publishLauncher := Release.deployLauncher.value, + packageBin in Compile := sbtLaunchJar.value ) @@ -601,7 +608,7 @@ def customCommands: Seq[Setting[_]] = Seq( "conscript-configs" :: "so compile" :: "so publishSigned" :: - "publishLauncher" :: + "bundledLauncherProj/publishLauncher" :: state }, // stamp-version doesn't work with ++ or "so".