File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,38 @@ class Example {
5151}
5252```
5353
54+ ## As a dependency
55+ ### Gradle
56+ ``` groovy
57+ repositories {
58+ maven { url 'https://jitpack.io' }
59+ }
60+ ```
61+
62+ ``` groovy
63+ dependencies {
64+ implementation 'com.github.lightlibs:simplehttpwrapper:[VERSION-STRING]'
65+ }
66+ ```
67+
68+ ### Maven
69+ ``` xml
70+ <repositories >
71+ <repository >
72+ <id >jitpack.io</id >
73+ <url >https://jitpack.io</url >
74+ </repository >
75+ </repositories >
76+ ```
77+
78+ ``` xml
79+ <dependency >
80+ <groupId >com.github.lightlibs</groupId >
81+ <artifactId >simplehttpwrapper</artifactId >
82+ <version >[VERSION-STRING]</version >
83+ </dependency >
84+ ```
85+
5486Note: Make sure to handle ` IOException ` when making the requests.
5587
5688Feel free to customize the code or add additional functionality as needed. And make a PR ;)
You can’t perform that action at this time.
0 commit comments