Skip to content

Commit 3669130

Browse files
author
vkykalo
committed
add dep into readme
1 parent 4222c42 commit 3669130

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,22 @@ This repository based on https://github.com/cbschuld/Browser.php and was rewritt
66

77
## Typical Usage:
88

9-
```java
9+
```java
1010
String userAgent = "Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16";
1111
Browser browser = new Browser(userAgent);
1212
System.out.println("You have Browser: " + browser);
1313
```
1414

15+
## Maven dependency
16+
17+
```
18+
<dependency>
19+
<groupId>io.github.vadymkykalo</groupId>
20+
<artifactId>browser</artifactId>
21+
<version>0.1.2</version>
22+
</dependency>
23+
```
24+
1525
## Browser Detection
1626

1727
This solution identifies the following Browsers and does a best-guess on the version:
@@ -82,7 +92,7 @@ I based this solution off of Gary White's original work but have since replaced
8292

8393
Run tests
8494
```bash
85-
mvn -Dtest="com.vkykalo.browser/*Test" test
95+
mvn -Dtest="io.github.vadymkykalo.browser/*Test" test
8696
```
8797

8898
Each file is tab delimited with the following fields:

0 commit comments

Comments
 (0)