From 74aa08a4b5227b0d61ec9609e4fc316c41aaf474 Mon Sep 17 00:00:00 2001 From: gem Date: Thu, 7 May 2026 11:37:04 +0800 Subject: [PATCH] chore: bump version to 0.0.42 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- android/build.gradle | 144 ++++++++++++++++----------------- ios/flutter_openim_sdk.podspec | 70 ++++++++-------- 2 files changed, 107 insertions(+), 107 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 880aa83..8d57cba 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,73 +1,73 @@ -group 'io.openim.flutter_openim_sdk' -version '1.0' - -def dir = getCurrentProjectDir() - -def getCurrentProjectDir() { - String result = "" - rootProject.allprojects { project -> - if (project.properties.get("name").toString() == "flutter_openim_sdk") { - result = project.properties.get("projectDir").toString() - } - } - return result -} - -buildscript { - ext.kotlin_version = '2.0.20' - - repositories { - maven { url 'https://maven.aliyun.com/repository/public' } - maven { url 'https://maven.aliyun.com/repository/central' } - maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' } - maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } - google() - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:7.3.1' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - -rootProject.allprojects { - repositories { - // 本地 AAR 调试配置 - 使用 rootProject.projectDir 确保路径正确 - // maven { url 'file://' + rootProject.projectDir.absolutePath + '/local-maven' } - - maven { - url 'http://192.168.77.132:8081/repository/mvn2-group' - allowInsecureProtocol true - } - google() - mavenCentral() - } -} - -apply plugin: 'com.android.library' -apply plugin: 'kotlin-android' - -android { - namespace 'io.openim.flutter_openim_sdk' - compileSdkVersion 34 - - defaultConfig { - minSdkVersion 21 - ndk { - abiFilters "arm64-v8a","x86" // 根据需要添加其他 ABI - } - } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - kotlinOptions { - jvmTarget = '1.8' - } -} - -dependencies { - //implementation 'com.openim:sdkcore:1.0.15-local' - implementation 'com.openim:sdkcore:1.0.23' +group 'io.openim.flutter_openim_sdk' +version '1.0' + +def dir = getCurrentProjectDir() + +def getCurrentProjectDir() { + String result = "" + rootProject.allprojects { project -> + if (project.properties.get("name").toString() == "flutter_openim_sdk") { + result = project.properties.get("projectDir").toString() + } + } + return result +} + +buildscript { + ext.kotlin_version = '2.0.20' + + repositories { + maven { url 'https://maven.aliyun.com/repository/public' } + maven { url 'https://maven.aliyun.com/repository/central' } + maven { url 'https://maven.aliyun.com/nexus/content/repositories/google' } + maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } + google() + mavenCentral() + } + + dependencies { + classpath 'com.android.tools.build:gradle:7.3.1' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } +} + +rootProject.allprojects { + repositories { + // 本地 AAR 调试配置 - 使用 rootProject.projectDir 确保路径正确 + // maven { url 'file://' + rootProject.projectDir.absolutePath + '/local-maven' } + + maven { + url 'http://192.168.77.132:8081/repository/mvn2-group' + allowInsecureProtocol true + } + google() + mavenCentral() + } +} + +apply plugin: 'com.android.library' +apply plugin: 'kotlin-android' + +android { + namespace 'io.openim.flutter_openim_sdk' + compileSdkVersion 34 + + defaultConfig { + minSdkVersion 21 + ndk { + abiFilters "arm64-v8a","x86" // 根据需要添加其他 ABI + } + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + kotlinOptions { + jvmTarget = '1.8' + } +} + +dependencies { + //implementation 'com.openim:sdkcore:1.0.15-local' + implementation 'com.openim:sdkcore:1.0.24' } \ No newline at end of file diff --git a/ios/flutter_openim_sdk.podspec b/ios/flutter_openim_sdk.podspec index 1513a11..babfd1b 100644 --- a/ios/flutter_openim_sdk.podspec +++ b/ios/flutter_openim_sdk.podspec @@ -1,35 +1,35 @@ -# -# 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. -# -Pod::Spec.new do |s| - s.name = 'flutter_openim_sdk' - s.version = '0.0.17' - s.summary = 'A new Flutter project.' - s.description = <<-DESC -A new Flutter project. - DESC - s.homepage = 'http://example.com' - s.license = { :file => '../LICENSE' } - s.author = { 'Your Company' => 'email@example.com' } - s.source = { :path => '.' } - s.source_files = 'Classes/**/*' - s.dependency 'Flutter' - s.platform = :ios, '13.0' - - #s.ios.vendored_frameworks = 'frameworks/*.xcframework' - #s.vendored_frameworks = 'frameworks/*.xcframework' - s.dependency 'openim_sdk_core_ios','0.17.0' - s.static_framework = true - s.library = 'resolv' - - - - - # s.vendored_frameworks = 'Framework/*.xcframework' - # Flutter.framework does not contain a i386 slice. - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' } - s.swift_version = '5.0' - - s.resource_bundles = {'flutter_openim_sdk_privacy' => ['Resources/PrivacyInfo.xcprivacy']} -end +# +# 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. +# +Pod::Spec.new do |s| + s.name = 'flutter_openim_sdk' + s.version = '0.0.18' + s.summary = 'A new Flutter project.' + s.description = <<-DESC +A new Flutter project. + DESC + s.homepage = 'http://example.com' + s.license = { :file => '../LICENSE' } + s.author = { 'Your Company' => 'email@example.com' } + s.source = { :path => '.' } + s.source_files = 'Classes/**/*' + s.dependency 'Flutter' + s.platform = :ios, '13.0' + + #s.ios.vendored_frameworks = 'frameworks/*.xcframework' + #s.vendored_frameworks = 'frameworks/*.xcframework' + s.dependency 'openim_sdk_core_ios','0.18.0' + s.static_framework = true + s.library = 'resolv' + + + + + # s.vendored_frameworks = 'Framework/*.xcframework' + # Flutter.framework does not contain a i386 slice. + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' } + s.swift_version = '5.0' + + s.resource_bundles = {'flutter_openim_sdk_privacy' => ['Resources/PrivacyInfo.xcprivacy']} +end