Commit 0ae240c6 by 严久程
parents ccf0a907 0e1135ae
...@@ -43,7 +43,7 @@ ext { ...@@ -43,7 +43,7 @@ ext {
// -------------- 业务模块 -------------- // -------------- 业务模块 --------------
//第三步 若干 //第三步 若干
"m-confide" : "0.0.25", "m-confide" : "0.0.26",
"m-consultant" : "0.0.39", "m-consultant" : "0.0.39",
"m-course" : "0.0.28", "m-course" : "0.0.28",
"m-fm" : "0.0.20", "m-fm" : "0.0.20",
...@@ -70,7 +70,7 @@ ext { ...@@ -70,7 +70,7 @@ ext {
"ydl-webview" : "0.0.27", "ydl-webview" : "0.0.27",
"ydl-media" : "0.0.13", "ydl-media" : "0.0.13",
"ydl-pay" : "0.0.10", "ydl-pay" : "0.0.10",
"m-audioim" : "0.0.25", "m-audioim" : "0.0.26",
//以下 几乎不会动 //以下 几乎不会动
"router" : "0.0.1", "router" : "0.0.1",
...@@ -90,7 +90,7 @@ ext { ...@@ -90,7 +90,7 @@ ext {
"m-tests" : "0.0.4", "m-tests" : "0.0.4",
"m-user" : "0.0.25", "m-user" : "0.0.25",
//-------------- 业务模块 API 层 -------------- //-------------- 业务模块 API 层 --------------
"m-audioim-api" : "0.0.4", "m-audioim-api" : "0.0.5",
"m-confide-api" : "0.0.1", "m-confide-api" : "0.0.1",
"m-consultant-api": "0.0.3", "m-consultant-api": "0.0.3",
"m-course-api" : "0.0.2", "m-course-api" : "0.0.2",
...@@ -107,7 +107,7 @@ ext { ...@@ -107,7 +107,7 @@ ext {
"ydl-webview" : "0.0.27", "ydl-webview" : "0.0.27",
"ydl-media" : "0.0.13", "ydl-media" : "0.0.13",
"ydl-pay" : "0.0.10", "ydl-pay" : "0.0.10",
"m-audioim" : "0.0.25", "m-audioim" : "0.0.26",
//以下 几乎不会动 //以下 几乎不会动
......
...@@ -13,7 +13,7 @@ resConfig { ...@@ -13,7 +13,7 @@ resConfig {
kapt { kapt {
arguments { arguments {
arg("AROUTER_MODULE_NAME", project.getName()) arg("AROUTER_MODULE_NAME", "audioim")
} }
} }
android { android {
...@@ -35,6 +35,12 @@ android { ...@@ -35,6 +35,12 @@ android {
consumerProguardFiles 'consumer-rules.pro' consumerProguardFiles 'consumer-rules.pro'
flavorDimensions "versionCode" flavorDimensions "versionCode"
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: "audioim"]
}
}
} }
//前缀的名字 //前缀的名字
......
...@@ -7,7 +7,7 @@ modular { ...@@ -7,7 +7,7 @@ modular {
groupId = "com.ydl" groupId = "com.ydl"
artifactId = "m-audioim-api" artifactId = "m-audioim-api"
// version = rootProject.ext.ydlPublishVersion[childProject.getName()+"-api"] // version = rootProject.ext.ydlPublishVersion[childProject.getName()+"-api"]
version = "0.0.4" version = "0.0.5"
// API 层打包时需要引入的依赖 // API 层打包时需要引入的依赖
apiDependencies { apiDependencies {
implementation "com.google.code.gson:gson:2.8.2" implementation "com.google.code.gson:gson:2.8.2"
......
package com.ydl.audioim package com.ydl.audioim
import android.content.Context import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.ydl.audioim.api.AudioImApi import com.ydl.audioim.api.AudioImApi
/** /**
* 模块对外提供接口的实现类 * 模块对外提供接口的实现类
*/ */
@Route(path = "/audioim/audioimapi")
class AudioImImpl: AudioImApi { class AudioImImpl: AudioImApi {
override fun init(context: Context?) { override fun init(context: Context?) {
......
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