Skip to content

Commit 839d7f0

Browse files
author
vlad-outscraper
committed
add Installation
1 parent 6a8e131 commit 839d7f0

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

README.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,44 @@ The library provides convenient access to the [Outscraper API](https://app.outsc
66

77
Java 11 or later
88

9-
### Gradle users
9+
### Gradle
1010

11-
Add this dependency to your project's build file:
11+
Edit your build.gradle file
1212
``` sh
13-
implementation "com.outscraper:outscraper-java:0.0.1"
13+
repositories {
14+
maven { url "https://jitpack.io" }
15+
}
16+
17+
dependencies {
18+
implementation 'com.github.outscraper:outscraper-java:v1.0.4'
19+
}
20+
```
21+
22+
### Maven
23+
24+
Add the JitPack repository to your build file
25+
``` sh
26+
<repositories>
27+
<repository>
28+
<id>jitpack.io</id>
29+
<url>https://jitpack.io</url>
30+
</repository>
31+
</repositories>
32+
```
33+
34+
Add the dependency
35+
``` sh
36+
<dependency>
37+
<groupId>com.github.outscraper</groupId>
38+
<artifactId>outscraper-java</artifactId>
39+
<version>v1.0.4</version>
40+
</dependency>
1441
```
1542
1643
### Others
1744
1845
You'll need to manually install the following JARs:
19-
20-
- [The Outscraper JAR](https://search.maven.org/remote_content?g=com.outscraper&a=outscraper-java&v=LATEST)
46+
- [The Outscraper JAR](https://jitpack.io/com/github/outscraper/outscraper-java/v1.0.4/outscraper-java-v1.0.4.jar)
2147
- [Json](https://repo1.maven.org/maven2/org/json/json/20090211/json-20090211.jar)
2248
- [Httpcomponents](https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar)
2349
- [Guava](https://repo1.maven.org/maven2/com/google/guava/guava/30.1.1-jre/guava-30.1.1-jre.jar)

0 commit comments

Comments
 (0)