Compare commits

1 Commits

Author SHA1 Message Date
vet
0b20851db7 s3预览 2026-05-02 19:47:51 +07:00
2 changed files with 12 additions and 6 deletions

View File

@@ -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")
}

Binary file not shown.