为了账号安全,请及时绑定邮箱和手机立即绑定

A项目中A3依赖A1,A2。B项目依赖A3

B项目settings.gradle中

include 'common-proto'
include 'common-proto-mj'
include 'service'
include 'common-mj'
include 'simulation-client'
project(':common-proto').projectDir = new File(settingsDir, '../iohao-card-common/common-proto/')
project(':common-proto-mj').projectDir = new File(settingsDir, '../iohao-card-common/common-proto-mj/')
project(':service').projectDir = new File(settingsDir, '../iohao-card-common/service/')
project(':common-mj').projectDir = new File(settingsDir, '../iohao-card-common/common-mj/')
project(':simulation-client').projectDir = new File(settingsDir, '../iohao-card-common/simulation-client/')


B项目build.gradle中

dependencies {

       compile project(':common-mj')
       compile project(':simulation-client')

}

结果在运行的时候报错

Error:java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [common-mj_main,service_main,common-proto_main,common-proto-mj_main,simulation-client_main] are excluded from annotation processinghttp://img1.sycdn.imooc.com//5a3b859a0001c32510980487.jpg

正在回答

举报

0/150
提交
取消

A项目中A3依赖A1,A2。B项目依赖A3

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信