Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Commit

Permalink
Update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ErrorxCode authored May 19, 2022
1 parent 6b33575 commit e57c681
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ A tiny heroku library designed for creating a restfull worker on heroku. With th
*Use this library when you only want to process some data or perform background job on an input (data). This may not serve you if your worker perform jobs periodically (24/7) at some intervel of time*



## Implementation

**Note** : Use standalone jar

#### ~~For gradle~~ :-
#### For gradle :-

Add it in your root build.gradle at the end of repositories:

Expand All @@ -25,13 +20,13 @@ Add it in your root build.gradle at the end of repositories:

Add the dependency

```gr
```groovy
dependencies {
implementation 'com.github.ErrorxCode:WebWorker:1.0.0'
implementation 'com.github.ErrorxCode:WebWorker:v1.0'
}
```

#### ~~For maven~~ :-
#### For maven :-

Declare the repo.

Expand All @@ -50,14 +45,10 @@ Add the dependencies
<dependency>
<groupId>com.github.ErrorxCode</groupId>
<artifactId>WebWorker</artifactId>
<version>1.0.0</version>
<version>v1.0</version>
</dependency>
```



**Or else, you can download the [standalone jar](https://github.com/ErrorxCode/WebWorker/releases/download/test2/WebWorker.jar)**

## Usage

The usage of the library is so simple, just create 2 classes, one for server & another for worker (both with main method). For server, just call the `Server.start()` method and for worker, create your own extending `Worker` class.
Expand Down

0 comments on commit e57c681

Please sign in to comment.