Reputation: 9028
I have a Gradle multi module project and have a common module for invoking 3rd party service. Using Webclient in the common module and hence included starter in the webflux.
implementation 'org.springframework.boot:spring-boot-starter-webflux'
Since I have included spring-boot-starter-webflux, it is trying to build as a bootJar and expecting the main application. It builds fine if I incldue a main application. But, this is just a common module and I would like to build this as a jar to be included in the main module.
Tried jar in the gradle and still it is not working. Is there any other way?
jar {
enabled = true
}
Upvotes: 0
Views: 190