diff --git a/README.md b/README.md index 6a5e7fa088beb79a61912f45d9eefe7bf3580618..0b45cc53e79e45b1a109ca6def33769422c82fa0 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ - 基线版本: Release Tag 1.1.1 - 项目移植状态:主功能完成 - 调用差异:无 -- 开发版本:sdk5,DevEco Studio2.1 beta4 +- 开发版本:sdk5,DevEco Studio2.1 Release #### 效果演示 diff --git a/build.gradle b/build.gradle index e83d0d6537187b1b6e318c86d0e7c3760f71c6e7..ad164cd02eda1a7a7a92ca958de6cfb70f4eed8c 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 940e46b7758ae70614e4ed4ec5524d0962cdfc3d..e881a6c665962874403faedbb7f7bab9efaf859f 100644 --- a/entry/src/main/config.json +++ b/entry/src/main/config.json @@ -3,7 +3,7 @@ "bundleName": "uk.co.alt236.btlescan", "vendor": "co", "version": { - "code": 1, + "code": 1000000, "name": "1.0" }, "apiVersion": { diff --git a/entry/src/ohosTest/java/uk/co/alt236/btlescan/ExampleOhosTest.java b/entry/src/ohosTest/java/uk/co/alt236/btlescan/ExampleOhosTest.java index 3285dd8782bdbf65a950c5720f31cb6854f8cd12..2d67d18e41ce18e9320e12983afaca4c49ceb986 100644 --- a/entry/src/ohosTest/java/uk/co/alt236/btlescan/ExampleOhosTest.java +++ b/entry/src/ohosTest/java/uk/co/alt236/btlescan/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 uk.co.alt236.btlescan; import ohos.aafwk.ability.delegation.AbilityDelegatorRegistry;