找不到方法include()[product]

时间:2018-01-23 10:09:30

标签: maven gradle build.gradle

我正从maven转向gradle。在maven中,我有几个模块:

我应该写dependsOn 'product-api'正确的

1 个答案:

答案 0 :(得分:2)

您应该将模块添加到settings.gradle。看看documentation

settings.gradle

include 'product-rating-storage-api'
include 'product-rating-storage-ignite'
include 'product-rating-client-api'