From 557e1050d4f62ae827169cb4a79a11abd10ed2a3 Mon Sep 17 00:00:00 2001 From: 0000248716-lijiaxiao Date: Mon, 5 Jul 2021 17:41:26 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ README.md | 14 ++++++-------- build.gradle | 6 +++--- entry/build.gradle | 2 +- entry/src/main/config.json | 5 ----- library/build.gradle | 2 +- library/src/main/config.json | 5 ----- 7 files changed, 15 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78aec78..8b51087 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.2-SNAPSHOT +ohos 第2个版本 +* 更新sdk6 + ## 0.0.1-SNAPSHOT ohos 第一个版本,完整实现了原库的全部 api diff --git a/README.md b/README.md index 9213f4e..39821b5 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # BankCardFormat #### 项目介绍 -- 项目名称:自动格式化银行卡号的TextField控件 +- 项目名称:BankCardFormat - 所属系列:openharmony的第三方组件适配移植 - 功能:自动格式化银行卡号的TextField,每四位增加一个空格,并根据银行卡号判断该银行卡归属的银行 -- 基线版本: Release Tags 1.0.3 - 项目移植状态:主功能完成 - 调用差异:无 -- 开发版本:sdk5,DevEco Studio2.1 Release +- 开发版本:sdk5,DevEco Studio 2.2 Beta1 +- 基线版本: Release Tags 1.0.3 #### 效果演示 @@ -27,12 +27,10 @@ 2.在entry模块的build.gradle文件中, ``` dependencies { - implementation('com.gitee.chinasoft_ohos:BankCardFormat:0.0.1-SNAPSHOT') + implementation('com.gitee.chinasoft_ohos:BankCardFormat:0.0.2-SNAPSHOT') ...... } ``` -在sdk5,DevEco Studio2.1 Release下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle, -build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 #### 使用说明 @@ -102,10 +100,10 @@ CodeCheck代码测试无异常 CloudTest代码测试无异常 -火绒安全病毒安全检测通过 +病毒安全检测通过 当前版本demo功能与原组件基本无差异 #### 版本迭代 -- 0.0.1-SNAPSHOT \ No newline at end of file +- 0.0.2-SNAPSHOT \ No newline at end of file diff --git a/build.gradle b/build.gradle index 83d884f..bf479ca 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.huawei.ohos.app' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { 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.6' + 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 5a04d97..1e0d257 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 } diff --git a/entry/src/main/config.json b/entry/src/main/config.json index 2bb5c13..9834480 100644 --- a/entry/src/main/config.json +++ b/entry/src/main/config.json @@ -5,11 +5,6 @@ "version": { "code": 1000000, "name": "1.0" - }, - "apiVersion": { - "compatible": 5, - "target": 5, - "releaseType": "Release" } }, "deviceConfig": {}, diff --git a/library/build.gradle b/library/build.gradle index 25ddf0c..7e1e475 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,6 +1,6 @@ apply plugin: 'com.huawei.ohos.library' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } diff --git a/library/src/main/config.json b/library/src/main/config.json index 0791b3a..569ec8a 100644 --- a/library/src/main/config.json +++ b/library/src/main/config.json @@ -5,11 +5,6 @@ "version": { "code": 1, "name": "1.0" - }, - "apiVersion": { - "compatible": 5, - "target": 5, - "releaseType": "Beta1" } }, "deviceConfig": { -- Gitee From 9971e0c023b76467631983e2c207662614cafe29 Mon Sep 17 00:00:00 2001 From: 0000248716-lijiaxiao Date: Tue, 6 Jul 2021 10:52:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 39821b5..b520552 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ - 功能:自动格式化银行卡号的TextField,每四位增加一个空格,并根据银行卡号判断该银行卡归属的银行 - 项目移植状态:主功能完成 - 调用差异:无 -- 开发版本:sdk5,DevEco Studio 2.2 Beta1 +- 开发版本:sdk6,DevEco Studio 2.2 Beta1 - 基线版本: Release Tags 1.0.3 #### 效果演示 -- Gitee