mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-11-26 03:58:50 +00:00
update README
This commit is contained in:
parent
af196fa90c
commit
e3b1b67bdc
19
README.md
19
README.md
@ -32,23 +32,11 @@ kronScheuler.doWhile {
|
||||
|
||||
### Including in project
|
||||
|
||||
Here will be presented example for including of `Krontab` as a dependency using `Gradle`. In two words,
|
||||
developers must:
|
||||
|
||||
* Add `https://dl.bintray.com/insanusmokrassar/InsanusMokrassar/` address as source of packages
|
||||
* Add `Krontab` as a dependency
|
||||
|
||||
In gradle script it will look like:
|
||||
If you want to include `krontab` in your project, just add next line to your
|
||||
dependencies part:
|
||||
|
||||
```groovy
|
||||
repositories {
|
||||
// ...
|
||||
maven { url "https://dl.bintray.com/insanusmokrassar/InsanusMokrassar/" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "com.insanusmokrassar:krontab:$krontab_version"
|
||||
}
|
||||
implementation "com.insanusmokrassar:krontab:$krontab_version"
|
||||
```
|
||||
|
||||
Next version is the latest currently for the library:
|
||||
@ -136,4 +124,3 @@ kronScheduler.doInfinity {
|
||||
```
|
||||
|
||||
All of these examples will do the same things: print `Called` message every five seconds.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user