This commit is contained in:
vet
2026-05-02 19:47:51 +07:00
parent 95889be7a2
commit 0b20851db7
2 changed files with 12 additions and 6 deletions

View File

@@ -21,6 +21,8 @@ rootProject.allprojects {
apply plugin: "com.android.library"
def localAar = file("libs/open_im_sdk.aar")
android {
namespace = "io.openim.flutter_openim_sdk"
@@ -35,12 +37,6 @@ android {
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 {
unitTests.all {
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")
}

Binary file not shown.