Skip to content

Commit 286cb0d

Browse files
authored
Merge pull request #2746 from divinenickname/readme-gradle
Readme.md add gradle import
2 parents 02215f1 + 61c106b commit 286cb0d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ This is a community-based project, not maintained by the Spring Framework Contri
9898
* Add the `springdoc-openapi-ui` library to the list of your project dependencies (No
9999
additional configuration is needed):
100100

101+
Maven
101102
```xml
102103
<dependency>
103104
<groupId>org.springdoc</groupId>
@@ -106,6 +107,11 @@ This is a community-based project, not maintained by the Spring Framework Contri
106107
</dependency>
107108
```
108109

110+
Gradle
111+
```groovy
112+
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:latest'
113+
```
114+
109115
* This step is optional: For custom path of the swagger documentation in HTML format, add
110116
a custom springdoc property, in your spring-boot configuration file:
111117

@@ -144,6 +150,7 @@ springdoc.swagger-ui.path=/swagger-ui.html
144150
* Add the library to the list of your project dependencies. (No additional configuration
145151
is needed)
146152

153+
Maven
147154
```xml
148155
<dependency>
149156
<groupId>org.springdoc</groupId>
@@ -152,6 +159,11 @@ springdoc.swagger-ui.path=/swagger-ui.html
152159
</dependency>
153160
```
154161

162+
Gradle
163+
```groovy
164+
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:latest'
165+
```
166+
155167
* This step is optional: For custom path of the OpenAPI documentation in Json format, add
156168
a custom springdoc property, in your spring-boot configuration file:
157169

@@ -189,6 +201,7 @@ and `@SecurityScheme` annotations within a Spring managed bean.
189201
* Add the library to the list of your project dependencies (No additional configuration
190202
is needed)
191203

204+
Maven
192205
```xml
193206
<dependency>
194207
<groupId>org.springdoc</groupId>
@@ -197,6 +210,11 @@ and `@SecurityScheme` annotations within a Spring managed bean.
197210
</dependency>
198211
```
199212

213+
Gradle
214+
```groovy
215+
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:latest'
216+
```
217+
200218
* This step is optional: For custom path of the swagger documentation in HTML format, add
201219
a custom springdoc property, in your spring-boot configuration file:
202220

0 commit comments

Comments
 (0)