From 28719c77e8d7fe08e9db4e6767993e545c3e6f3b Mon Sep 17 00:00:00 2001 From: fluency03 Date: Wed, 11 Apr 2018 01:19:32 +0200 Subject: [PATCH] setup sbt project --- .gitignore | 31 +++++++++++ README.md | 3 +- build.sbt | 19 +++++++ project/build.properties | 1 + project/plugins.sbt | 2 + scalastyle-config.xml | 117 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 172 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 build.sbt create mode 100644 project/build.properties create mode 100644 project/plugins.sbt create mode 100644 scalastyle-config.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30f1560 --- /dev/null +++ b/.gitignore @@ -0,0 +1,31 @@ +# Compiled class file +*.class + +# Log file +*.log + +# Package Files +*.jar +*.war +*.ear +*.zip +*.tar.gz +*.rar + +# macOS template +.DS_Store + +# SBT +dist +target +lib_managed +src_managed +project/boot/ +project/plugins/project/ +.history +.cache +.lib + +# IntelliJ +out +.idea diff --git a/README.md b/README.md index f5cad48..6042f89 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# blockchain.scala +# blockchain-scala + Simple Blockchain Implementation in Scala. diff --git a/build.sbt b/build.sbt new file mode 100644 index 0000000..405bb2f --- /dev/null +++ b/build.sbt @@ -0,0 +1,19 @@ +resolvers ++= Seq( + "Artima Maven Repository" at "http://repo.artima.com/releases" +) + +organization := "com.fluency03" + +name := "blockchain-scala" + +version := "0.0.1" + +scalaVersion := "2.12.5" + +libraryDependencies ++= { + Seq( + "org.scalaz" %% "scalaz-core" % "7.2.21", + "org.scalactic" %% "scalactic" % "3.0.5", + "org.scalatest" %% "scalatest" % "3.0.5" % "test" + ) +} \ No newline at end of file diff --git a/project/build.properties b/project/build.properties new file mode 100644 index 0000000..c3e3abc --- /dev/null +++ b/project/build.properties @@ -0,0 +1 @@ +sbt.version = 1.1.4 \ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..98427ef --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1,2 @@ +addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0") +addSbtPlugin("com.artima.supersafe" %% "sbtplugin" % "1.1.3") diff --git a/scalastyle-config.xml b/scalastyle-config.xml new file mode 100644 index 0000000..3432d70 --- /dev/null +++ b/scalastyle-config.xml @@ -0,0 +1,117 @@ + + Scalastyle standard configuration + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file