First of all, clone this repo and go to the project directory.
After that there are several options how to run.
You need installed JDK 11 on your machine.
- Enable Annotation processing
IntelliJ IDEA:- Go to Preferences
- Select tab Build, Execution, Deployment
- Select Enable annotation processing
- Go to
com.github.ysamsonov.rssreader.Application
- Run it use debug/normal mode
For Linux/MacOS use bash command:
./gradlew :rss-reader-core:runApp
For Windows use cmd command:
gradlew.bat :rss-reader-core:runApp
- Need to build application see Build.
- And run using Java 11
java -jar rss-reader-core.jar
The following options are available for application.
Name | Description | Default value |
---|---|---|
rssreader.config.location |
Configuration file location | $(pwd)/reader-config.json |
rssreader.feed.synchronizer.pool.size |
Pool size for feed synchronization | 4 |
rssreader.feed.writer.batch.size |
Batch size for feed writer | 10 |
Example of using:
java -Drssreader.feed.synchronizer.pool.size=1 -jar rss-reader-core.jar
-
Run command to build Fat Jar
For Linux/MacOS use bash command:
./gradlew :rss-reader-core:fatJar
For Windows use cmd command:
gradlew.bat :rss-reader-core:fatJar
- Go to
rss-reader-core/build/libs
folder and take jar-file
Contributions are always welcome!
This project is licensed under GNU General Public License v3.0.