chore: bump version to 0.0.42
- Android: sdkcore 1.0.23 → 1.0.24 - iOS: pod version 0.0.17 → 0.0.18, openim_sdk_core_ios 0.17.0 → 0.18.0 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -1,73 +1,73 @@
|
|||||||
group 'io.openim.flutter_openim_sdk'
|
group 'io.openim.flutter_openim_sdk'
|
||||||
version '1.0'
|
version '1.0'
|
||||||
|
|
||||||
def dir = getCurrentProjectDir()
|
def dir = getCurrentProjectDir()
|
||||||
|
|
||||||
def getCurrentProjectDir() {
|
def getCurrentProjectDir() {
|
||||||
String result = ""
|
String result = ""
|
||||||
rootProject.allprojects { project ->
|
rootProject.allprojects { project ->
|
||||||
if (project.properties.get("name").toString() == "flutter_openim_sdk") {
|
if (project.properties.get("name").toString() == "flutter_openim_sdk") {
|
||||||
result = project.properties.get("projectDir").toString()
|
result = project.properties.get("projectDir").toString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
ext.kotlin_version = '2.0.20'
|
ext.kotlin_version = '2.0.20'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://maven.aliyun.com/repository/public' }
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
||||||
maven { url 'https://maven.aliyun.com/repository/central' }
|
maven { url 'https://maven.aliyun.com/repository/central' }
|
||||||
maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }
|
maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' }
|
||||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:7.3.1'
|
classpath 'com.android.tools.build:gradle:7.3.1'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.allprojects {
|
rootProject.allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
// 本地 AAR 调试配置 - 使用 rootProject.projectDir 确保路径正确
|
// 本地 AAR 调试配置 - 使用 rootProject.projectDir 确保路径正确
|
||||||
// maven { url 'file://' + rootProject.projectDir.absolutePath + '/local-maven' }
|
// maven { url 'file://' + rootProject.projectDir.absolutePath + '/local-maven' }
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
url 'http://192.168.77.132:8081/repository/mvn2-group'
|
url 'http://192.168.77.132:8081/repository/mvn2-group'
|
||||||
allowInsecureProtocol true
|
allowInsecureProtocol true
|
||||||
}
|
}
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace 'io.openim.flutter_openim_sdk'
|
namespace 'io.openim.flutter_openim_sdk'
|
||||||
compileSdkVersion 34
|
compileSdkVersion 34
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
ndk {
|
ndk {
|
||||||
abiFilters "arm64-v8a","x86" // 根据需要添加其他 ABI
|
abiFilters "arm64-v8a","x86" // 根据需要添加其他 ABI
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = '1.8'
|
jvmTarget = '1.8'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
//implementation 'com.openim:sdkcore:1.0.15-local'
|
//implementation 'com.openim:sdkcore:1.0.15-local'
|
||||||
implementation 'com.openim:sdkcore:1.0.23'
|
implementation 'com.openim:sdkcore:1.0.24'
|
||||||
}
|
}
|
||||||
@@ -1,35 +1,35 @@
|
|||||||
#
|
#
|
||||||
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
|
||||||
# Run `pod lib lint flutter_openim_sdk.podspec` to validate before publishing.
|
# Run `pod lib lint flutter_openim_sdk.podspec` to validate before publishing.
|
||||||
#
|
#
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = 'flutter_openim_sdk'
|
s.name = 'flutter_openim_sdk'
|
||||||
s.version = '0.0.17'
|
s.version = '0.0.18'
|
||||||
s.summary = 'A new Flutter project.'
|
s.summary = 'A new Flutter project.'
|
||||||
s.description = <<-DESC
|
s.description = <<-DESC
|
||||||
A new Flutter project.
|
A new Flutter project.
|
||||||
DESC
|
DESC
|
||||||
s.homepage = 'http://example.com'
|
s.homepage = 'http://example.com'
|
||||||
s.license = { :file => '../LICENSE' }
|
s.license = { :file => '../LICENSE' }
|
||||||
s.author = { 'Your Company' => 'email@example.com' }
|
s.author = { 'Your Company' => 'email@example.com' }
|
||||||
s.source = { :path => '.' }
|
s.source = { :path => '.' }
|
||||||
s.source_files = 'Classes/**/*'
|
s.source_files = 'Classes/**/*'
|
||||||
s.dependency 'Flutter'
|
s.dependency 'Flutter'
|
||||||
s.platform = :ios, '13.0'
|
s.platform = :ios, '13.0'
|
||||||
|
|
||||||
#s.ios.vendored_frameworks = 'frameworks/*.xcframework'
|
#s.ios.vendored_frameworks = 'frameworks/*.xcframework'
|
||||||
#s.vendored_frameworks = 'frameworks/*.xcframework'
|
#s.vendored_frameworks = 'frameworks/*.xcframework'
|
||||||
s.dependency 'openim_sdk_core_ios','0.17.0'
|
s.dependency 'openim_sdk_core_ios','0.18.0'
|
||||||
s.static_framework = true
|
s.static_framework = true
|
||||||
s.library = 'resolv'
|
s.library = 'resolv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# s.vendored_frameworks = 'Framework/*.xcframework'
|
# s.vendored_frameworks = 'Framework/*.xcframework'
|
||||||
# Flutter.framework does not contain a i386 slice.
|
# Flutter.framework does not contain a i386 slice.
|
||||||
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' }
|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' }
|
||||||
s.swift_version = '5.0'
|
s.swift_version = '5.0'
|
||||||
|
|
||||||
s.resource_bundles = {'flutter_openim_sdk_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
|
s.resource_bundles = {'flutter_openim_sdk_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user