Skip to content

Commit ca3aa3a

Browse files
committed
added gradle install instructions
1 parent 9cb0544 commit ca3aa3a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,29 @@ It is inspired by ktor Locations, but makes no use of it.
2121

2222
## Installation
2323

24+
### Gradle
25+
26+
#### Step 1. Add the JitPack repository to your build file
27+
28+
Add it in your root build.gradle at the end of repositories:
29+
```
30+
allprojects {
31+
repositories {
32+
...
33+
maven { url 'https://jitpack.io' }
34+
}
35+
}
36+
```
37+
38+
#### Step 2. Add the dependency
39+
40+
```
41+
dependencies {
42+
implementation 'com.github.papsign:Ktor-OpenAPI-Generator:-SNAPSHOT'
43+
}
44+
```
45+
46+
### Git Submodule
2447
Install the submodule:
2548
```
2649
git submodule add https://github.com/papsign/Ktor-OpenAPI-Generator.git openapigen

0 commit comments

Comments
 (0)