build: 将aar单独放到一个模块里,避免多个地方重复拷贝
This commit is contained in:
@ -76,7 +76,6 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||||
|
||||
Binary file not shown.
2
module_lib/build.gradle
Normal file
2
module_lib/build.gradle
Normal file
@ -0,0 +1,2 @@
|
||||
configurations.maybeCreate("default")
|
||||
artifacts.add("default", file('quick_login_android_5.9.4.aar'))
|
||||
0
app/libs/quick_login_android_5.9.4.aar → module_lib/quick_login_android_5.9.4.aar
Executable file → Normal file
0
app/libs/quick_login_android_5.9.4.aar → module_lib/quick_login_android_5.9.4.aar
Executable file → Normal file
@ -46,8 +46,6 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
|
||||
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||||
@ -56,4 +54,5 @@ dependencies {
|
||||
|
||||
implementation(project(path: ":module_common"))
|
||||
implementation(project(path: ":module_core_feature"))
|
||||
api project(":module_lib")
|
||||
}
|
||||
Binary file not shown.
@ -11,3 +11,4 @@ include ':module_setting'
|
||||
include ':module_feedback'
|
||||
include ':ndownload'
|
||||
include ':module_core_feature'
|
||||
include ':module_lib'
|
||||
Reference in New Issue
Block a user