Skip to content

Commit

Permalink
Add note about staging source + fix examples URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
mukel committed Aug 26, 2018
1 parent 4642596 commit 33cb8b3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,23 @@ Table of contents
## As SBT/mill dependency
Add to your `build.sbt` file:
```scala
// Current version is an early RC.
resolvers += Resolver.sonatypeRepo("staging")

// Core with minimal dependencies, enough to spawn your first bot.
libraryDependencies += "com.bot4s" %% "telegram-core" % "4.0.0-RC1"

// Extra goodies: Webhooks, support for games, bindings for actors.
libraryDependencies += "com.bot4s" %% "telegram-akka" % "4.0.0-RC1"
```

For [mill](https://www.lihaoyi.com/mill/) add tp your `build.sc` file:
For [mill](https://www.lihaoyi.com/mill/) add to your `build.sc` file:
```scala
// Current version is an early RC.
def repositories() = super.repositories ++ Seq(
MavenRepository("https://oss.sonatype.org/content/repositories/staging")
)

def ivyDeps = Seq(
ivy"com.bot4s::telegram-core:4.0.0-RC1", // core
ivy"com.bot4s::telegram-akka:4.0.0-RC1" // extra goodies
Expand Down Expand Up @@ -234,7 +242,7 @@ object LmgtfyBot extends AkkaTelegramBot
}
```

Check out the [sample bots](https://github.com/bot4s/telegram/tree/master/examples/src/main/scala) for more functionality.
Check out the [sample bots](https://github.com/bot4s/telegram/tree/master/examples) for more functionality.

## Versioning

Expand Down

0 comments on commit 33cb8b3

Please sign in to comment.