diff --git a/CHANGELOG.md b/CHANGELOG.md index a904ff9356b4214127958b02c491cb75acefc4ca..43e8d9ab048d2bb88e590964cb1d00462f465c4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +## 版本迭代 0.0.2-SNAPSHOT ## 0.0.1-SNAPSHOT ohos 第一个版本,完整实现了原库的全部 api diff --git a/README.md b/README.md index 3dfe26fc1398d16f85c57a9b9dfec4af965ec583..644473f454d64be1a7a19db7c444fd0decb79606 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 75ff32d4eb5d7550466b5e4c76f784359a8ce33e..a4bbee50c84428507c792bf978676f0ff6fe17a8 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.7' + 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 d7d8f4332b6a1c4c8cc6587789ef1567ab8979e7..022d5d3c465d85192ffcf86d087b32d747455828 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 b863bdd4a4a329c26c3a79c25a65f8a3b3980eca..623824257ce9a694cd6e16fa67ed9d8414be43b2 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 0f99cc8b8d7bf388cbc137ab4aa3df81b13643df..2657c1d2b41fad1f4db7a5ec54e233e55560cab7 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 924d6dc0b9dffb9b010ef404a07d7581d6ebb290..cee1c320d225aebcdd792a00776ad1d626ab1255 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 25ddf0cf1daa8f1533639ebc05ce352f4019b8ff..7e1e475c1296e7c6d200a45810598ddff583ee7f 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 1a1ee6eeeabd01f11e5174e9d91f1ed6d72be57b..9d24229e22a219377955627f770c5485be09597d 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": {