From addef3681fb15e61f1f5791ccb85c8a1661f7879 Mon Sep 17 00:00:00 2001 From: renpengfei Date: Mon, 5 Jul 2021 20:16:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=9C=80=E6=96=B0?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ README.OPENSOURCE | 2 +- README.md | 12 +++++++----- build.gradle | 8 ++++---- entry/build.gradle | 5 +++-- glide_bitmap_pool/build.gradle | 4 ++-- 6 files changed, 20 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22c2f05..f0848f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.0.2-SNAPSHOT +ohos 第二个版本 + * 适配最新版本 ## 0.0.1-SNAPSHOT ohos 第一个版本 * 实现了原库的大部分 api diff --git a/README.OPENSOURCE b/README.OPENSOURCE index ee0d48f..f4138c0 100644 --- a/README.OPENSOURCE +++ b/README.OPENSOURCE @@ -4,7 +4,7 @@ "Name": "GlideBitmapPool", - "License": "Apache License 2.0", + "License": "Apache License", "License File": "LICENSE", diff --git a/README.md b/README.md index 7544ba7..58a9408 100755 --- a/README.md +++ b/README.md @@ -7,8 +7,9 @@ - 功能:用于重用位图内存的内存管理库 - 项目移植状态:已完成 - 调用差异:openharmony与原库内存展示有差异 +- 开发版本:sdk6,DevEco Studio2.2 Beta1 - 基线版本:Release v0.0.1 -- 开发版本:sdk5,DevEco Studio2.1 Release + ## 安装教程 @@ -26,13 +27,14 @@ 2.在项目根目录下的build.gradle文件中, ``` dependencies { - implementation('com.gitee.chinasoft_ohos:GlideBitmapPool:0.0.1-SNAPSHOT') + implementation('com.gitee.chinasoft_ohos:GlideBitmapPool:0.0.2-SNAPSHOT') ...... } ``` -在sdk5,DevEco Studio2.1 Release下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 +在sdk6,DevEco Studio2.2 Beta1下项目可直接运行 如无法运行, +删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 ## 使用说明 @@ -108,12 +110,12 @@ CodeCheck代码测试无异常 CloudTest代码测试无异常 -火绒安全病毒安全检测通过 +病毒安全检测通过 当前版本demo功能与原组件基本无差异 ## 版本迭代 -- 0.0.1-SNAPSHOT +- 0.0.2-SNAPSHOT ## 版权和许可信息 ``` diff --git a/build.gradle b/build.gradle index 8f5ff61..f0c73f7 100644 --- a/build.gradle +++ b/build.gradle @@ -2,9 +2,9 @@ apply plugin: 'com.huawei.ohos.app' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { - compatibleSdkVersion 4 + compatibleSdkVersion 5 } } @@ -19,8 +19,8 @@ buildscript { jcenter() } dependencies { - classpath 'com.huawei.ohos:hap:2.4.4.2' - classpath 'com.huawei.ohos:decctest:1.0.0.7' + classpath 'com.huawei.ohos:hap:2.4.5.0' + classpath 'com.huawei.ohos:decctest:1.2.4.1' } } diff --git a/entry/build.gradle b/entry/build.gradle index 2d3b390..c4a7d71 100644 --- a/entry/build.gradle +++ b/entry/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.huawei.ohos.hap' apply plugin: 'com.huawei.ohos.decctest' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } @@ -11,7 +11,8 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) testImplementation 'junit:junit:4.13' ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100' - implementation('com.gitee.chinasoft_ohos:GlideBitmapPool:0.0.1-SNAPSHOT') +// implementation('com.gitee.chinasoft_ohos:GlideBitmapPool:0.0.2-SNAPSHOT') + compile project(':glide_bitmap_pool') } decc { diff --git a/glide_bitmap_pool/build.gradle b/glide_bitmap_pool/build.gradle index ab88c30..40fa835 100644 --- a/glide_bitmap_pool/build.gradle +++ b/glide_bitmap_pool/build.gradle @@ -1,8 +1,8 @@ apply plugin: 'com.huawei.ohos.library' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { - compatibleSdkVersion 4 + compatibleSdkVersion 5 } } -- Gitee From ff56369532e96fbd5eb9d65021c8b6c2dbefbda4 Mon Sep 17 00:00:00 2001 From: renpengfei Date: Mon, 5 Jul 2021 20:17:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=9C=80=E6=96=B0?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry/build.gradle b/entry/build.gradle index c4a7d71..8483e74 100644 --- a/entry/build.gradle +++ b/entry/build.gradle @@ -11,8 +11,8 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) testImplementation 'junit:junit:4.13' ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100' -// implementation('com.gitee.chinasoft_ohos:GlideBitmapPool:0.0.2-SNAPSHOT') - compile project(':glide_bitmap_pool') + implementation('com.gitee.chinasoft_ohos:GlideBitmapPool:0.0.2-SNAPSHOT') +// compile project(':glide_bitmap_pool') } decc { -- Gitee