From 89955f9034c6de8b28600fbcc47cf0e086dba8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BD=B3=E6=99=93?= <740059442@qq.com> Date: Thu, 27 May 2021 17:30:34 +0800 Subject: [PATCH 1/4] update entry/src/ohosTest/java/com/yuyh/bankcardformat/ExampleOhosTest.java. --- .../com/yuyh/bankcardformat/ExampleOhosTest.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/entry/src/ohosTest/java/com/yuyh/bankcardformat/ExampleOhosTest.java b/entry/src/ohosTest/java/com/yuyh/bankcardformat/ExampleOhosTest.java index 7d55696..21c0b90 100644 --- a/entry/src/ohosTest/java/com/yuyh/bankcardformat/ExampleOhosTest.java +++ b/entry/src/ohosTest/java/com/yuyh/bankcardformat/ExampleOhosTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain an copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.yuyh.bankcardformat; import ohos.aafwk.ability.delegation.AbilityDelegatorRegistry; -- Gitee From 0c33368468569cf03cb55ad9b5ef96099c3dc76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BD=B3=E6=99=93?= <740059442@qq.com> Date: Thu, 3 Jun 2021 16:32:20 +0800 Subject: [PATCH 2/4] update README.md. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4968f89..9213f4e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ - 基线版本: Release Tags 1.0.3 - 项目移植状态:主功能完成 - 调用差异:无 -- 开发版本:sdk5,DevEco Studio2.1 beta4 +- 开发版本:sdk5,DevEco Studio2.1 Release #### 效果演示 @@ -31,7 +31,7 @@ ...... } ``` -在sdk5,DevEco Studio2.1 beta4下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle, +在sdk5,DevEco Studio2.1 Release下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle, build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 #### 使用说明 -- Gitee From d86860fdbbeeedd45dd3cb9389608df59679c86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BD=B3=E6=99=93?= <740059442@qq.com> Date: Thu, 3 Jun 2021 16:33:02 +0800 Subject: [PATCH 3/4] update entry/src/main/config.json. --- entry/src/main/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry/src/main/config.json b/entry/src/main/config.json index e165719..2bb5c13 100644 --- a/entry/src/main/config.json +++ b/entry/src/main/config.json @@ -3,7 +3,7 @@ "bundleName": "com.yuyh.bankcardformat", "vendor": "yuyh", "version": { - "code": 1, + "code": 1000000, "name": "1.0" }, "apiVersion": { -- Gitee From 82560e5d1594a6d9fdeb590b99aa94d10d52b63f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BD=B3=E6=99=93?= <740059442@qq.com> Date: Thu, 3 Jun 2021 16:33:26 +0800 Subject: [PATCH 4/4] update build.gradle. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e463f14..83d884f 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.huawei.ohos:hap:2.4.2.7' + classpath 'com.huawei.ohos:hap:2.4.4.2' classpath 'com.huawei.ohos:decctest:1.0.0.6' } } -- Gitee