Commit 4f3b75dc by konghaorui

增加Api依赖

parent 2916e276
...@@ -8,6 +8,7 @@ apply plugin: 'plugin.resTools' // 资源重命名插件 ...@@ -8,6 +8,7 @@ apply plugin: 'plugin.resTools' // 资源重命名插件
resConfig { resConfig {
new_prefix = 'im_' // 资源前缀 new_prefix = 'im_' // 资源前缀
old_prefix = '' // 老前缀,可为''空字符串 old_prefix = '' // 老前缀,可为''空字符串
// resFolderPath = 'src/main/res'
} }
kapt { kapt {
...@@ -94,9 +95,12 @@ dependencies { ...@@ -94,9 +95,12 @@ dependencies {
//开发时使用 //开发时使用
api project(':ydl-webview') api project(':ydl-webview')
api project(':ydl-platform') api project(':ydl-platform')
implementation modularPublication('com.ydl:m-im-api')
implementation modularPublication('com.ydl:m-user-api') implementation modularPublication('com.ydl:m-user-api')
}else { }else {
//发布时使用 //发布时使用
compileOnly rootProject.ext.dependencies["ydl-m-user-api"]
compileOnly rootProject.ext.dependencies["ydl-m-im-api"]
api rootProject.ext.dependencies["ydl-webview"] api rootProject.ext.dependencies["ydl-webview"]
api(rootProject.ext.dependencies["ydl-platform"]) { api(rootProject.ext.dependencies["ydl-platform"]) {
transitive = true transitive = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment