Commit 23e7eeac authored by yinjiacheng's avatar yinjiacheng

add BCommon、BGeneralBusiness maven发布配置

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