Skip to content

Commit 7169b40

Browse files
committed
Add: update README with example usage for library import and dependencies
1 parent 8f83d62 commit 7169b40

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

readme.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,24 @@ Imaginez une API qui ne se contente pas de relier des services, mais qui devient
4646

4747
## 🧑‍💻 Exemple d’utilisation
4848

49+
Importation de la librairie
50+
```java
51+
repositories {
52+
53+
maven {
54+
url = uri("https://sandro642.github.io/connectorapi/jar")
55+
}
56+
57+
}
58+
59+
dependencies {
60+
61+
implementation("fr.sandro642.github:ConnectorAPI:0.1.1")
62+
63+
}
64+
65+
```
66+
4967
```java
5068
import fr.sandro642.github.api.ApiClient;
5169

0 commit comments

Comments
 (0)