mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2025-10-18 05:00:12 +00:00
update README
This commit is contained in:
21
README.md
21
README.md
@@ -1,6 +1,6 @@
|
|||||||
# krontab
|
# krontab
|
||||||
|
|
||||||
[  ](https://bintray.com/insanusmokrassar/InsanusMokrassar/krontab/_latestVersion)
|
[  ](https://bintray.com/insanusmokrassar/InsanusMokrassar/krontab/_latestVersion)
|
||||||
|
|
||||||
Library was created to give oppotunity to launch some things from time to time according to some schedule in
|
Library was created to give oppotunity to launch some things from time to time according to some schedule in
|
||||||
runtime of applications.
|
runtime of applications.
|
||||||
@@ -32,23 +32,11 @@ kronScheuler.doWhile {
|
|||||||
|
|
||||||
### Including in project
|
### Including in project
|
||||||
|
|
||||||
Here will be presented example for including of `Krontab` as a dependency using `Gradle`. In two words,
|
If you want to include `krontab` in your project, just add next line to your
|
||||||
developers must:
|
dependencies part:
|
||||||
|
|
||||||
* Add `https://dl.bintray.com/insanusmokrassar/InsanusMokrassar/` address as source of packages
|
|
||||||
* Add `Krontab` as a dependency
|
|
||||||
|
|
||||||
In gradle script it will look like:
|
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
repositories {
|
implementation "com.insanusmokrassar:krontab:$krontab_version"
|
||||||
// ...
|
|
||||||
maven { url "https://dl.bintray.com/insanusmokrassar/InsanusMokrassar/" }
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation "com.insanusmokrassar:krontab:$krontab_version"
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Next version is the latest currently for the library:
|
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.
|
All of these examples will do the same things: print `Called` message every five seconds.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user