From d2738adaa7da054289d6693e4784cf9a06351951 Mon Sep 17 00:00:00 2001 From: wjt983049539 Date: Mon, 28 Jun 2021 10:04:21 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 75ff32d..d8bca9b 100644 --- a/build.gradle +++ b/build.gradle @@ -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' } } -- Gitee From 39ea6fc83227b75742c7b7a4073924c0cc37737e Mon Sep 17 00:00:00 2001 From: wjt983049539 Date: Mon, 28 Jun 2021 10:59:22 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=9C=80=E6=96=B0?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- build.gradle | 2 +- entry/build.gradle | 2 +- entry/src/main/config.json | 5 ----- entry/src/ohosTest/config.json | 5 ----- .../java/rebus/permissionutils/sample/ExampleOhosTest.java | 2 +- library/build.gradle | 2 +- library/src/main/config.json | 5 ----- 8 files changed, 5 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 3dfe26f..644473f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ - 项目移植状态:已完成 - 调用差异:无 - 基线版本:Release 3.0.0 -- 开发版本:sdk5,DevEco Studio2.1 Release +- 开发版本:sdk6,DevEco Studio2.2 Beta1 ## 演示效果 diff --git a/build.gradle b/build.gradle index d8bca9b..a4bbee5 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 } diff --git a/entry/build.gradle b/entry/build.gradle index d7d8f43..022d5d3 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 b863bdd..6238242 100644 --- a/entry/src/main/config.json +++ b/entry/src/main/config.json @@ -5,11 +5,6 @@ "version": { "code": 1000000, "name": "1.0.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Release" } }, "deviceConfig": {}, diff --git a/entry/src/ohosTest/config.json b/entry/src/ohosTest/config.json index 0f99cc8..2657c1d 100644 --- a/entry/src/ohosTest/config.json +++ b/entry/src/ohosTest/config.json @@ -5,11 +5,6 @@ "version": { "code": 1000000, "name": "1.0.0" - }, - "apiVersion": { - "compatible": 4, - "target": 5, - "releaseType": "Release" } }, "deviceConfig": {}, diff --git a/entry/src/ohosTest/java/rebus/permissionutils/sample/ExampleOhosTest.java b/entry/src/ohosTest/java/rebus/permissionutils/sample/ExampleOhosTest.java index 924d6dc..cee1c32 100644 --- a/entry/src/ohosTest/java/rebus/permissionutils/sample/ExampleOhosTest.java +++ b/entry/src/ohosTest/java/rebus/permissionutils/sample/ExampleOhosTest.java @@ -38,7 +38,7 @@ public class ExampleOhosTest { } @Test - public void isGranted(){ + public void isGranted(){ boolean granted = PermissionUtils.isGranted(AbilityDelegatorRegistry.getAbilityDelegator().getCurrentTopAbility(), PermissionEnum.WRITE_EXTERNAL_STORAGE); assertFalse(granted); } 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 1a1ee6e..9d24229 100644 --- a/library/src/main/config.json +++ b/library/src/main/config.json @@ -5,11 +5,6 @@ "version": { "code": 1000000, "name": "1.0.0" - }, - "apiVersion": { - "compatible": 5, - "target": 5, - "releaseType": "Release" } }, "deviceConfig": { -- Gitee From 0769bc99bb1b15048955ad245e4393e0a94cc501 Mon Sep 17 00:00:00 2001 From: wjt983049539 Date: Mon, 28 Jun 2021 10:59:43 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=9C=80=E6=96=B0?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a904ff9..43e8d9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +## 版本迭代 0.0.2-SNAPSHOT ## 0.0.1-SNAPSHOT ohos 第一个版本,完整实现了原库的全部 api -- Gitee