Commit 8a84fd37 by 徐健

FM模块aar和FM接口模块jar上传

parent b501f35b
......@@ -168,7 +168,6 @@ dependencies {
if (true) {
//开发模式
api project(':m-user')
api project(':m-fm')
api project(':m-tests')
api project(':m-consultant')
api (project(':ydl-platform')){
......@@ -176,6 +175,12 @@ dependencies {
}
implementation project(':ydl-webview')
implementation project(':ydl-media')
// api rootProject.ext.dependencies["ydl-m-fm-module-ydl"]
// api rootProject.ext.dependencies["ydl-m-fm-api"]
api project(':m-fm')
implementation modularPublication('com.ydl:m-fm-api')
} else {
//发布模式
api 'com.ydl:m-user-module-ydl:0.0.6'
......
ext {
kotlin_version = '1.3.21'
dev_mode = false
dev_mode = true
ydl_app = [
appName : "心理咨询壹点灵",
......@@ -172,10 +172,11 @@ ext {
//Modular Api
"ydl-user-router" : 'com.ydl:router:1.0.0-SNAPSHOT@aar',
"ydl-platform" : 'com.ydl:ydl-platform:0.0.11@aar',
"ydl-platform" : 'com.ydl:ydl-platform:0.0.12@aar',
"ydl-m-user-api" : 'com.ydl:m-user-api:0.0.5',
"ydl-webview" : 'com.ydl:ydl-webview:0.0.14@aar',
"ydl-m-muse-api" : 'com.ydl:m-muse-api:0.0.1@aar',
"ydl-m-fm-api" : 'com.ydl:m-fm-api:0.0.1@aar'
"ydl-m-muse-api" : 'com.ydl:m-muse-api:0.0.1',
"ydl-m-fm-api" : 'com.ydl:m-fm-api:0.0.2',
"ydl-m-fm-module-ydl" : 'com.ydl:m-fm-module-ydl:0.0.1@aar'
]
}
......@@ -69,6 +69,7 @@ dependencies {
// 注意此处的依赖方式:kotlin中使用和java中使用方式有不同
kapt "com.alibaba:arouter-compiler:$arouter_compiler"
api rootProject.ext.dependencies["ydl-user-router"]
if (rootProject.ext.dev_mode){
//开发时使用
api project(":ydl-platform")
......@@ -77,6 +78,7 @@ dependencies {
implementation project(':ydl-media')
} else {
//发布时使用
implementation project(':ydl-media')
api rootProject.ext.dependencies["ydl-m-user-api"]
api(rootProject.ext.dependencies["ydl-platform"]) {
transitive = true
......
......@@ -24,7 +24,7 @@ modular {
groupId = "com.ydl"
artifactId = "m-fm-api"
//开发时注释掉版本号,发布api时打开
version = "0.0.1"
version = "0.0.2"
// API 层打包时需要引入的依赖
apiDependencies {
implementation "com.google.code.gson:gson:2.8.2"
......
IS_PUBLISH=true
VERSION_NAME=0.0.11
\ No newline at end of file
VERSION_NAME=0.0.12
\ No newline at end of file
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