3 Commits

Author SHA1 Message Date
vet
9478b45c5c s3预览2
Some checks failed
Mark stale issues and pull requests / stale (push) Has been cancelled
2026-05-02 20:48:03 +07:00
vet
e37ca0ffd1 s3预览 2026-05-02 20:40:48 +07:00
vet
425934aebd 图片s3预览 2026-05-02 19:00:32 +07:00
4 changed files with 35 additions and 6 deletions

View File

@@ -21,6 +21,10 @@ rootProject.allprojects {
apply plugin: "com.android.library"
def localCoreRepo = file("repo")
def localCoreVersion = "3.8.3-patch10"
def localCorePom = file("repo/io/openim/core-sdk/${localCoreVersion}/core-sdk-${localCoreVersion}.pom")
android {
namespace = "io.openim.flutter_openim_sdk"
@@ -35,12 +39,6 @@ android {
minSdk = 21
}
dependencies {
implementation 'io.openim:core-sdk:3.8.3-patch10@aar'
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.0.0")
}
testOptions {
unitTests.all {
testLogging {
@@ -51,3 +49,23 @@ android {
}
}
}
repositories {
google()
mavenCentral()
if (localCorePom.exists()) {
maven {
url uri(localCoreRepo)
}
}
}
dependencies {
if (localCorePom.exists()) {
implementation "io.openim:core-sdk:${localCoreVersion}"
} else {
implementation "io.openim:core-sdk:${localCoreVersion}@aar"
}
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.0.0")
}

Binary file not shown.

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.openim</groupId>
<artifactId>core-sdk</artifactId>
<version>3.8.3-patch10</version>
<packaging>aar</packaging>
<name>core-sdk</name>
</project>