From 1d983eeeaf1dabe27d39ec6e432a94d781ec3ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8C=A5=E5=88=AB=E6=98=A8=E5=A4=A9=E7=9A=84=E6=88=91?= <838119225@qq.com> Date: Wed, 2 Jun 2021 17:39:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 10 +++++----- entry/src/main/config.json | 7 +++---- entry/src/ohosTest/config.json | 7 +++---- .../feng/common/stepperview/demo/ExampleOhosTest.java | 1 + library/src/main/config.json | 7 +++---- 5 files changed, 15 insertions(+), 17 deletions(-) diff --git a/build.gradle b/build.gradle index 69bbf9d..cee0732 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ ohos { compatibleSdkVersion 4 } } - + buildscript { repositories { maven { @@ -16,11 +16,11 @@ buildscript { maven { url 'https://developer.huawei.com/repo/' } - jcenter() + jcenter() } dependencies { - classpath 'com.huawei.ohos:hap:2.4.2.5' - classpath 'com.huawei.ohos:decctest:1.0.0.6' + classpath 'com.huawei.ohos:hap:2.4.2.7' + classpath 'com.huawei.ohos:decctest:1.0.0.7' } } @@ -32,6 +32,6 @@ allprojects { maven { url 'https://developer.huawei.com/repo/' } - jcenter() + jcenter() } } diff --git a/entry/src/main/config.json b/entry/src/main/config.json index 1334448..fe10e83 100644 --- a/entry/src/main/config.json +++ b/entry/src/main/config.json @@ -3,13 +3,12 @@ "bundleName": "moe.feng.common.stepperview.demo", "vendor": "feng", "version": { - "code": 1, - "name": "1.0" + "code": 1000000, + "name": "1.0.0" }, "apiVersion": { "compatible": 4, - "target": 5, - "releaseType": "Beta1" + "target": 5 } }, "deviceConfig": {}, diff --git a/entry/src/ohosTest/config.json b/entry/src/ohosTest/config.json index ad2444e..a66b60c 100644 --- a/entry/src/ohosTest/config.json +++ b/entry/src/ohosTest/config.json @@ -3,13 +3,12 @@ "bundleName": "moe.feng.common.stepperview.demo", "vendor": "feng", "version": { - "code": 1, - "name": "1.0" + "code": 1000000, + "name": "1.0.0" }, "apiVersion": { "compatible": 4, - "target": 5, - "releaseType": "Beta1" + "target": 5 } }, "deviceConfig": {}, diff --git a/entry/src/ohosTest/java/moe/feng/common/stepperview/demo/ExampleOhosTest.java b/entry/src/ohosTest/java/moe/feng/common/stepperview/demo/ExampleOhosTest.java index ef6e7ee..7d832c6 100644 --- a/entry/src/ohosTest/java/moe/feng/common/stepperview/demo/ExampleOhosTest.java +++ b/entry/src/ohosTest/java/moe/feng/common/stepperview/demo/ExampleOhosTest.java @@ -6,6 +6,7 @@ import org.junit.Test; import static org.junit.Assert.assertEquals; public class ExampleOhosTest { + //UI组件,不涉及单元测试 @Test public void testBundleName() { final String actualBundleName = AbilityDelegatorRegistry.getArguments().getTestBundleName(); diff --git a/library/src/main/config.json b/library/src/main/config.json index 7a9d01e..2ce76e0 100644 --- a/library/src/main/config.json +++ b/library/src/main/config.json @@ -3,13 +3,12 @@ "bundleName": "moe.feng.common.stepperview.demo", "vendor": "feng", "version": { - "code": 1, - "name": "1.0" + "code": 1000000, + "name": "1.0.0" }, "apiVersion": { "compatible": 4, - "target": 5, - "releaseType": "Beta1" + "target": 5 } }, "deviceConfig": {}, -- Gitee