Skip to content

Commit 73e4eb5

Browse files
author
Anthony Roux
committed
add Gson dependency in the documentation
1 parent 4618dd7 commit 73e4eb5

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,23 @@ documentation](https://amadeus4dev.github.io/amadeus-java/) on
1111

1212
## Installation
1313

14-
This library requires Java 1.7+. You can install install it via Maven or Gradle.
14+
This library requires Java 1.7+ and the the [Gson library](https://github.com/google/gson).
15+
16+
With __Maven__ you need to add to your pom.xml
17+
```xml
18+
<dependency>
19+
<groupId>com.google.code.gson</groupId>
20+
<artifactId>gson</artifactId>
21+
<version>2.8.5</version>
22+
</dependency>
23+
```
24+
25+
With __Gradle__
26+
```js
27+
compile 'com.google.code.gson:gson:2.8.5'
28+
```
29+
30+
You can install the SDK via Maven or Gradle.
1531

1632
#### Maven
1733
```xml
@@ -25,7 +41,6 @@ This library requires Java 1.7+. You can install install it via Maven or Gradle.
2541
```js
2642
compile "com.amadeus:amadeus-java:1.0.0"
2743
```
28-
2944
## Getting Started
3045

3146
To send make your first API call you will need to [register for an Amadeus

0 commit comments

Comments
 (0)