Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/update readme #1

Merged
merged 3 commits into from
Aug 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Snowflake4s can generate the roughly-sorted 64 bits ids as Long type written by
## Get Started
You should add the following dependency.
```sbtshell
resolvers += Resolver.bintrayRepo("ngtung", "snowflake4s")
resolvers +=
"Sonatype OSS Snapshots" at "https://s01.oss.sonatype.org/content/repositories/snapshots"

libraryDependencies += "septech.snowflake4s" % "snowflake4s_2.12" % "0.0.1"
libraryDependencies += "io.github.flintersvn" %% "snowflake4s" % "0.1.0-SNAPSHOT"
```

Add manual config to `application.conf`:
Expand Down
9 changes: 4 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ThisBuild / crossScalaVersions := List("2.12.14")
ThisBuild / version := "0.1.0-SNAPSHOT"

inThisBuild(
List(
Expand Down Expand Up @@ -35,9 +34,9 @@ lazy val root = (project in file("."))
.settings(
name := "Snowflake4s",
libraryDependencies ++= Seq(
"com.typesafe" % "config" % "1.3.1",
"com.google.inject" % "guice" % "4.1.0",
"net.codingwell" %% "scala-guice" % "4.1.0"
"com.typesafe" % "config" % "1.3.1",
"com.google.inject" % "guice" % "4.1.0",
"net.codingwell" %% "scala-guice" % "4.1.0"
)
)
.settings(
Expand All @@ -50,4 +49,4 @@ lazy val root = (project in file("."))

Global / scalacOptions ++= Seq(
"-Xlint:unused"
)
)