Last active
August 29, 2015 14:05
-
-
Save 2m/3dfab73e1a4bba8a9e29 to your computer and use it in GitHub Desktop.
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
Parsisiųsk SBT Launcher iš http://www.scala-sbt.org/download.html ir pasidaryk, kad `sbt` komanda būtų path'e. | |
Tada susikurk katalogą naujam projektui ir ten įmesk `build.sbt` | |
Java sourcus dėk į src/main/java | |
Pasileisk su `sbt` | |
Tada ten kompiliuok su `compile` | |
Paleisk su `run` |
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
libraryDependencies := Seq( | |
"redis.clients" % "jedis" % "2.4.2", | |
"junit" % "junit" % "4.11" | |
) |
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
// place this in src/main/java/ | |
public class Main { | |
public static void main(String[] args) { | |
System.out.println("Hello world"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment