Spring Boot multi module project with Gradle doesn't build

前端 未结 4 956
有刺的猬
有刺的猬 2021-01-31 03:29

I\'m working on a Spring Boot app with multiple modules and we\'re using Gradle to build it. Unfortunately I can\'t get the Gradle configuration right.

The project stru

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-31 04:14

    bootJar {
        enabled = false
    }
    
    jar {
        enabled = true
    }
    

    This works for my. In my case use spring boot with spring cloud with multi project and gradle fail to build. With this solution works!

提交回复
热议问题