aboutsummaryrefslogtreecommitdiff
path: root/examples/uber-jar-example/src/com
diff options
context:
space:
mode:
authorrockjam <5min4eq.unity@gmail.com>2016-06-23 20:44:40 +0300
committerrockjam <5min4eq.unity@gmail.com>2016-06-24 07:27:36 +0300
commit314df6dd5627a55f7e368f6fd62c0ad85922607a (patch)
tree422501c56b05b02b9b6729726417ef204da23ef7 /examples/uber-jar-example/src/com
parentfd6c08a1fe03fee7ccb87200bf4ff4b717d42864 (diff)
downloadcbt-314df6dd5627a55f7e368f6fd62c0ad85922607a.tar.gz
cbt-314df6dd5627a55f7e368f6fd62c0ad85922607a.tar.bz2
cbt-314df6dd5627a55f7e368f6fd62c0ad85922607a.zip
uber-jar plugin implementation
Diffstat (limited to 'examples/uber-jar-example/src/com')
-rw-r--r--examples/uber-jar-example/src/com/github/someguy/ImportantLib.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/uber-jar-example/src/com/github/someguy/ImportantLib.scala b/examples/uber-jar-example/src/com/github/someguy/ImportantLib.scala
new file mode 100644
index 0000000..34baf2f
--- /dev/null
+++ b/examples/uber-jar-example/src/com/github/someguy/ImportantLib.scala
@@ -0,0 +1,11 @@
+package com.github.someguy
+
+import java.nio.file.Paths
+
+object ImportantLib {
+ def add(a: Int, b: Int): Int = a + b
+ def currentDirectory() = {
+ println(fansi.Color.Green(s"Current directory is: ${Paths.get("").toAbsolutePath}"))
+ }
+
+}