s3预览
This commit is contained in:
@@ -21,6 +21,8 @@ rootProject.allprojects {
|
|||||||
|
|
||||||
apply plugin: "com.android.library"
|
apply plugin: "com.android.library"
|
||||||
|
|
||||||
|
def localAar = file("libs/open_im_sdk.aar")
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "io.openim.flutter_openim_sdk"
|
namespace = "io.openim.flutter_openim_sdk"
|
||||||
|
|
||||||
@@ -35,12 +37,6 @@ android {
|
|||||||
minSdk = 21
|
minSdk = 21
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation 'io.openim:core-sdk:3.8.3-patch12@aar'
|
|
||||||
testImplementation("junit:junit:4.13.2")
|
|
||||||
testImplementation("org.mockito:mockito-core:5.0.0")
|
|
||||||
}
|
|
||||||
|
|
||||||
testOptions {
|
testOptions {
|
||||||
unitTests.all {
|
unitTests.all {
|
||||||
testLogging {
|
testLogging {
|
||||||
@@ -51,3 +47,13 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
if (localAar.exists()) {
|
||||||
|
implementation files("libs/open_im_sdk.aar")
|
||||||
|
} else {
|
||||||
|
implementation 'io.openim:core-sdk:3.8.3-patch12@aar'
|
||||||
|
}
|
||||||
|
testImplementation("junit:junit:4.13.2")
|
||||||
|
testImplementation("org.mockito:mockito-core:5.0.0")
|
||||||
|
}
|
||||||
|
|||||||
BIN
android/libs/open_im_sdk.aar
Normal file
BIN
android/libs/open_im_sdk.aar
Normal file
Binary file not shown.
Reference in New Issue
Block a user