Created
November 27, 2023 04:34
-
-
Save bilal-fazlani/d541566c59d85d2960385cda1770b390 to your computer and use it in GitHub Desktop.
Revisions
-
bilal-fazlani created this gist
Nov 27, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ import scala.sys.process._ lazy val bootstrap = taskKey[Unit]("Create a fat jar file") bootstrap := { // this first publishes the project to ivy local publishLocal.value val process = Process( Seq( "coursier", "bootstrap", "--standalone", s"${organization.value}:${name.value}_3:${version.value}", "-f", "-o", s"${name.value}.jar" ) ) process ! }