Created
August 6, 2017 09:22
-
-
Save fredc0088/9a4f3099298649cf1f98713effafa3ab to your computer and use it in GitHub Desktop.
build.sbt
This file contains 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
name := "myapp" | |
organization := "com.myapp" | |
version := "1.0-SNAPSHOT" | |
// Enables publishing to maven repo | |
publishMavenStyle := true | |
// Do not append Scala versions to the generated artifacts | |
crossPaths := false | |
// This forbids including Scala related libraries into the dependency | |
autoScalaLibrary := false | |
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core | |
// libraryDependencies += "com.fasterxml.jackson.core" % "jackson-core" % "2.9.0" withSources() withJavadoc() | |
libraryDependencies += "com.google.code.gson" % "gson" % "2.2.4" withSources() withJavadoc() | |
unmanagedClasspath in Compile <++= baseDirectory map { base => | |
val lib = base / "lib" | |
Seq( | |
lib / "jackson-core-2.9.0.jar", | |
lib / "gson-2.2.4.jar" | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment