From ba3c636730faff90e1120ad385591f6579631c7f Mon Sep 17 00:00:00 2001 From: 0000226003-fuchi Date: Mon, 28 Jun 2021 14:30:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=8D=87=E7=BA=A7SDK=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 7 ++++--- README.md | 6 +++--- build.gradle | 6 +++--- entry/build.gradle | 2 +- entry/src/main/config.json | 4 ---- library/build.gradle | 2 +- library/src/main/config.json | 4 ---- 7 files changed, 12 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f34df31..d968b26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ -## 0.0.1-SNAPSHOT - -ohos 第一个版本,完整实现了原库的全部 api \ No newline at end of file +## 0.0.2-SNAPSHOT +ohos 第2个版本,更新sdk6 +## 0.0.1-SNAPSHOT +ohos 第1个版本,实现了原库的全部api \ No newline at end of file diff --git a/README.md b/README.md index e47b498..353b106 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ > * 功能:显示快慢交替的柱状条,可用于配合音乐 > * 项目移植状态:已完成 > * 调用差异:无 -> * 开发版本:sdk5,DevEco Studio2.1 Release +> * 开发版本:sdk6,DevEco Studio2.2 Beta1 > * 基线版本:master ## 效果演示 @@ -30,7 +30,7 @@ dependencies { } ``` -在sdk5,DevEco Studio2.1 Release下项目可直接运行, +在sdk6,DevEco Studio2.2 Beta1下项目可直接运行, 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, @@ -61,7 +61,7 @@ CloudTest代码测试无异常 当前版本demo功能与原组件基本无差异 ## 版本迭代 -> * 0.0.1-SNAPSHOT +> * 0.0.2-SNAPSHOT ## 版权和许可信息 diff --git a/build.gradle b/build.gradle index ab2e0e9..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 } @@ -19,8 +19,8 @@ buildscript { jcenter() } dependencies { - classpath 'com.huawei.ohos:hap:2.4.4.2' - classpath 'com.huawei.ohos:decctest:1.0.0.6' + 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 49ee1a7..5912a33 100644 --- a/entry/build.gradle +++ b/entry/build.gradle @@ -1,6 +1,6 @@ apply plugin: 'com.huawei.ohos.hap' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } diff --git a/entry/src/main/config.json b/entry/src/main/config.json index 89e1058..c8e8f7a 100644 --- a/entry/src/main/config.json +++ b/entry/src/main/config.json @@ -5,10 +5,6 @@ "version": { "code": 1000000, "name": "1.0" - }, - "apiVersion": { - "compatible": 5, - "target": 5 } }, "deviceConfig": {}, diff --git a/library/build.gradle b/library/build.gradle index 312bc1c..40fa835 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 a1b0a8f..4cd7d83 100644 --- a/library/src/main/config.json +++ b/library/src/main/config.json @@ -5,10 +5,6 @@ "version": { "code": 1000000, "name": "1.0" - }, - "apiVersion": { - "compatible": 5, - "target": 5 } }, "deviceConfig": {}, -- Gitee From 9237495258b544a968f719e3f8be6a9d2a4e763b Mon Sep 17 00:00:00 2001 From: 0000226003-fuchi Date: Mon, 28 Jun 2021 14:30:59 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8D=87=E7=BA=A7SDK=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/library/build.gradle b/library/build.gradle index 40fa835..cd73bf3 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -4,7 +4,6 @@ ohos { defaultConfig { compatibleSdkVersion 5 } - } dependencies { -- Gitee