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