diff --git a/README.md b/README.md index 4968f899294aeba2de828338c3309453f70434d1..9213f4ef959efc49bf6d7eae327c7d524c1ee8d4 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文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 #### 使用说明 diff --git a/build.gradle b/build.gradle index e463f147c46e9b38e8fe2fb8e3f3059b899a057d..83d884f02e8af69834e5d58b7b639f22d0a08708 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' } } diff --git a/entry/src/main/config.json b/entry/src/main/config.json index e16571909569a0ef637873c19e8efb8a3040108f..2bb5c139fade7ad69dc54236111c8a296ec7a6e5 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": { diff --git a/entry/src/ohosTest/java/com/yuyh/bankcardformat/ExampleOhosTest.java b/entry/src/ohosTest/java/com/yuyh/bankcardformat/ExampleOhosTest.java index 7d5569676d8db71a2dda65c79bb7054f9fe370e9..21c0b90bbcd3d2b0b802956c7c970845080cd64d 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;