Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gradle Dependency declaration #685

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ ROME is a Java framework for RSS and Atom feeds. The framework consist of severa
Starting with ROME 2.x Java 8 or higher is required. The only exception is version 2.0.0, which requires Java 11. However, this has been corrected in version
2.1.0.

### Dependency (Maven)
### Dependency

#### Maven
```xml
<dependencies>
<dependency>
Expand All @@ -29,6 +31,13 @@ Starting with ROME 2.x Java 8 or higher is required. The only exception is versi
</dependencies>
```

#### Gradle Kotlin Script
```kts
dependencies {
implementation("com.rometools:rome:${romeVersion}")
}
```

### Parse a feed
```java
String url = "https://stackoverflow.com/feeds/tag?tagnames=rome";
Expand Down