Skip to content

Commit dbfe334

Browse files
committed
ECWID-95251 examples how to add library to the maven / gradle project in README.md
1 parent 1b8f760 commit dbfe334

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,26 @@ apiHost=app.local.ecwid.com
1515
apiPort=8443
1616
```
1717

18+
#### Adding the Library to a Maven Project
19+
20+
To add the current library to a Maven project, you need to add the following block of code to your project's `pom.xml` file inside the `<dependencies>` tag:
21+
22+
```xml
23+
<dependency>
24+
<groupId>com.ecwid.apiclient</groupId>
25+
<artifactId>api-client</artifactId>
26+
<version>0.326.0</version>
27+
</dependency>
28+
```
29+
30+
#### Adding the Library to a Gradle Project
31+
32+
To add the current library to a Gradle project, you need to add the following line to your project's `build.gradle` file inside the `dependencies` block:
33+
34+
```groovy
35+
implementation 'com.ecwid.apiclient:api-client:0.326.0'
36+
```
37+
1838
## Examples
1939

2040
#### Simple example:

0 commit comments

Comments
 (0)