modular { packageName "com.yidianling.consultant" // 模块发布需要的参数 publish { modules { xlzx { //发布信息 module/api 通用 groupId = "com.ydl" artifactId = "m-consultant-module-xlzx" // 上报的业务模块 aar 包的版本号 version = "0.0.1" } ydl{ //发布信息 module/api 通用 groupId = "com.ydl" artifactId = "m-consultant-module-ydl" // 上报的业务模块 aar 包的版本号 version = "0.0.1" } } api { //发布信息 module/api 通用 groupId = "com.ydl" artifactId = "m-consultant-api" // version = "0.0.1" // API 层打包时需要引入的依赖 apiDependencies { implementation "com.google.code.gson:gson:2.8.2" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'com.alibaba:arouter-api:1.4.1' } } } }