0

I'm trying to use Springdoc on a multi-module gradle project, and I'm not able to make it work. Has someone already done something similar ?

My Gradle project structure looks like this:
My project

  • Application
  • module1
    • api
    • domain
    • repository
  • module2
    • sames as module1

the Application module has dependencies on each module project and implementation group: 'org.springframework.boot', name: 'spring-boot-starter', version: springBootVersion

on API submodule there is:
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: springStarterWeb
implementation group: 'org.springdoc', name: 'springdoc-openapi-ui', version: '1.4.2'

1 Answers1

0

This is the link to a sample application with multi-module project using gradle.

It contains, different kinds of configuration using gradle multi-module projects of the springdoc-openapi-ui and the springdoc-openapi-mvc-core.

You can see how configuration on gradle is done.

brianbro
  • 4,141
  • 2
  • 24
  • 37