Created
June 15, 2020 15:40
-
-
Save ChristopherDavenport/7e49e746e3eb3b3cfc42c8887b462f52 to your computer and use it in GitHub Desktop.
Basic Packaging For SBT Projects - Underscores in filenames indicate directories
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 characters
scalaVersion := "2.13.1" | |
enablePlugins(JavaAppPackaging) | |
maintainer := "[email protected]" | |
dockerBaseImage := "java:14" |
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 characters
// convention is plugins.sbt | |
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.7.3") |
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 characters
sbt.version=1.3.12 |
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 characters
object foo { | |
def main(args: Array[String]): Unit = { | |
println("Hello World!") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment