Commit 23e7eeac authored by yinjiacheng's avatar yinjiacheng

add BCommon、BGeneralBusiness maven发布配置

update 远程公共依赖由BCommon组件传递
parent 75dddeea
......@@ -5,6 +5,9 @@ plugins {
id 'kotlin-parcelize'
}
rootProject.ext.artifact_id = 'common'
apply from: '../../publish.gradle'
android {
compileSdkVersion build_versions.compileSdkVersion
publishNonDefault true
......@@ -58,19 +61,16 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
// kotlin实现MVVM框架之使用DataBinding之unresolved reference: BR解决办法
kapt "com.android.databinding:compiler:4.0.1"
implementation rootProject.ext.dependencies.publicImplementation
kapt 'com.github.bumptech.glide:compiler:4.12.0'
api rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
api deps.yac.core
api deps.xarc.xbrid
api "com.yidian.xarc:xevent:0.0.3"
api "com.yidian.xpage:xpagenative:0.0.1"
implementation('com.yidian.android:CommonComponent:0.0.88') {
api('com.yidian.android:CommonComponent:0.0.88') {
exclude(group: 'com.yidian.android', module: 'NetworkImageLib')
}
api 'com.github.bumptech.glide:glide:4.11.0'
kapt 'com.github.bumptech.glide:compiler:4.11.0'
}
\ No newline at end of file
......@@ -60,7 +60,7 @@ dependencies {
rootProject.ext.dependencies.other.each {
implementation project(it)
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
}
\ No newline at end of file
......@@ -8,6 +8,9 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
rootProject.ext.artifact_id = 'generalBusiness'
apply from:'../../publish.gradle'
android {
compileSdkVersion build_versions.compileSdkVersion
......@@ -60,7 +63,7 @@ dependencies {
rootProject.ext.dependencies.other.each {
implementation project(it)
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
}
......
......@@ -63,7 +63,7 @@ dependencies {
rootProject.ext.dependencies.other.each {
implementation project(it)
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
}
\ No newline at end of file
......@@ -74,10 +74,7 @@ dependencies {
rootProject.ext.dependencies.other.each {
implementation project(it)
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
implementation('com.yidian.android:CommonComponent:0.0.88') {
exclude(group: 'com.yidian.android', module: 'NetworkImageLib')
}
}
\ No newline at end of file
......@@ -60,7 +60,7 @@ dependencies {
rootProject.ext.dependencies.other.each {
implementation project(it)
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
}
\ No newline at end of file
......@@ -63,7 +63,7 @@ dependencies {
rootProject.ext.dependencies.other.each {
implementation project(it)
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
......
......@@ -61,7 +61,7 @@ dependencies {
rootProject.ext.dependencies.other.each {
implementation project(it)
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
}
\ No newline at end of file
......@@ -61,7 +61,7 @@ dependencies {
rootProject.ext.dependencies.other.each {
implementation project(it)
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
}
\ No newline at end of file
......@@ -60,7 +60,7 @@ dependencies {
rootProject.ext.dependencies.other.each {
implementation project(it)
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
}
\ No newline at end of file
......@@ -139,7 +139,7 @@ dependencies {
implementation project(":Components:BOrder")
implementation project(":Components:BMediator")
}
implementation rootProject.ext.dependencies.publicImplementation
implementation rootProject.ext.dependencies.privateImplementation
testImplementation rootProject.ext.dependencies.testImplementation
androidTestImplementation rootProject.ext.dependencies.androidTestImplementation
}
\ No newline at end of file
......@@ -100,7 +100,11 @@ ext.dependencies = [
'io.github.lucksiege:pictureselector:v2.7.3-rc05',
// Compressor https://github.com/zetbaitsu/Compressor
'id.zelory:compressor:3.0.1',
// Glide https://github.com/bumptech/glide
'com.github.bumptech.glide:glide:4.12.0',
],
// 私有依赖
privateImplementation : [
// (Ping++ 标准版 SDK) 必须添加
'com.pingxx:pingpp-android:2.3.5',
// 使用微信支付时添加,具体版本参考微信官方文档
......
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