diff --git a/build.gradle b/build.gradle index 93adaa4140b33c7c7db085f89c6442b8c4eeabfe..6dc578fc53cd5f3f28061c83bb9c82bb11d306d7 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 7e09f019e89c6cb6f79439a8b1a86ca5f3538bc1..78c260cf4dfe0ca6259dcde80191bd3d5f1f9b8c 100644 --- a/entry/src/main/config.json +++ b/entry/src/main/config.json @@ -3,7 +3,7 @@ "bundleName": "com.ms.square.ohos.expandabletext.sample", "vendor": "hos", "version": { - "code": 1, + "code": 1000000, "name": "1.0" }, "apiVersion": { diff --git a/entry/src/ohosTest/config.json b/entry/src/ohosTest/config.json index dc716cec4c4679e1eaba7be4db9ae2381da5eb8b..08c607d90dedb19501703b0c5edc6514ef91dc40 100644 --- a/entry/src/ohosTest/config.json +++ b/entry/src/ohosTest/config.json @@ -3,7 +3,7 @@ "bundleName": "com.hos.expandabletext", "vendor": "hos", "version": { - "code": 1, + "code": 1000000, "name": "1.0" }, "apiVersion": { diff --git a/entry/src/test/java/com/hos/expandabletext/ExampleTest.java b/entry/src/test/java/com/hos/expandabletext/ExampleTest.java new file mode 100644 index 0000000000000000000000000000000000000000..e8ac3354eaef7267c0a35f5cddd923d70e18be25 --- /dev/null +++ b/entry/src/test/java/com/hos/expandabletext/ExampleTest.java @@ -0,0 +1,9 @@ +package com.hos.expandabletext; + +import org.junit.Test; + +public class ExampleTest { + @Test + public void onStart() { + } +} diff --git a/lib/src/main/config.json b/lib/src/main/config.json index a28c6a5d9cd354414737988033ebb42552cf8449..8c0c9108b083eb5db93846b7785c7028420b5f13 100644 --- a/lib/src/main/config.json +++ b/lib/src/main/config.json @@ -1,9 +1,9 @@ { "app": { - "bundleName": "com.ms.square.ohos.expandabletextview", + "bundleName": "com.ms.square.ohos.expandabletext", "vendor": "loopj", "version": { - "code": 1, + "code": 1000000, "name": "1.0" }, "apiVersion": { @@ -14,7 +14,7 @@ }, "deviceConfig": {}, "module": { - "package": "com.ms.square.ohos.expandabletextview", + "package": "com.ms.square.ohos.expandabletext", "deviceType": [ "phone" ], @@ -22,14 +22,14 @@ "deliveryWithInstall": true, "moduleName": "lib", "moduleType": "har" - } - }, - "reqPermissions": [ - { - "name": "ohos.permission.INTERNET" }, - { - "name": "ohos.permission.READ_USER_STORAGE" - } - ] + "reqPermissions": [ + { + "name": "ohos.permission.INTERNET" + }, + { + "name": "ohos.permission.READ_USER_STORAGE" + } + ] + } } \ No newline at end of file