diff --git a/.gitignore b/.gitignore index 04f02a6a1361cfefad943500aa7497fc679f2bde..42b4248efb2b5b69590c8a83e594098c4c81be01 100644 --- a/.gitignore +++ b/.gitignore @@ -1,42 +1,9 @@ -# Built application files -*.apk -*.ap_ - -# Files for the Dalvik VM -*.dex - -# Java class files -*.class - -# Generated files -bin/ -gen/ - -# Gradle files -.gradle/ -build/ - -# Local configuration file (sdk path, etc) -local.properties - -# Proguard folder generated by Eclipse -proguard/ - -# Android Studio -.idea -.gradle -build/ *.iml - -# Windows thumbnail db -Thumbs.db - -# OSX files +.gradle +.idea/* .DS_Store - -# Eclipse project files -.classpath -.project - -# Don't ignore sample.apk -!sample.apk \ No newline at end of file +/build +/captures +.externalNativeBuild +/entry/.preview +.cxx diff --git a/CHANGELOG.md b/CHANGELOG.md index c846c5b6d46c7c53a03b41c5cbb65053c7528c80..e3d3e6dcd4ca3acec8488e7e22bf48061937c8f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -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 0b977f417373328b2c3f7560e47870f639ea593e..d8682aec048bce9e6022705c93a218e5f5b9f7f5 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # VNTNumberPickerPreference #### 项目介绍 -- 项目名称:VNTNumberPickerPreference数字选择器 +- 项目名称:VNTNumberPickerPreference - 所属系列:openharmony的第三方组件适配移植 - 功能:实现VNTNumberPickerPreference数字选择器值自动保存 - 项目移植状态:主功能完成 - 调用差异:无 +- 开发版本:sdk6,DevEco Studio2.2 Beta1 - 基线版本: Release v1.0.0 -- 开发版本:sdk5,DevEco Studio2.1 Release #### 效果演示 @@ -27,12 +27,12 @@ ``` dependencies { - implementation('com.gitee.chinasoft_ohos:vntNumber_PickerPre:0.0.1-SNAPSHOT') + implementation('com.gitee.chinasoft_ohos:vntNumber_PickerPre:0.0.2-SNAPSHOT') ...... } ``` -在sdk5,DevEco Studio2.1 Release下项目可直接运行 +在sdk6,DevEco Studio2.2 Beta1下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 @@ -86,13 +86,13 @@ CodeCheck代码测试无异常 CloudTest代码测试无异常 -火绒安全病毒安全检测通过 +病毒安全检测通过 当前版本demo功能与原组件基本无差异 #### 版本迭代 -- 0.0.1-SNAPSHOT +- 0.0.2-SNAPSHOT #### 版权和许可信息 ``` diff --git a/build.gradle b/build.gradle index 78d567d3213cdfab2ccc9585e8ae4a61f09a532c..85f19b13e9e69c7323796f8780a5543ad202aba1 100644 --- a/build.gradle +++ b/build.gradle @@ -2,9 +2,9 @@ apply plugin: 'com.huawei.ohos.app' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { - compatibleSdkVersion 4 + 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 72af0ff8a337fb5e1517c5d5deaf0bd8eb1c4e01..17c72fd6504d638fc83ca6950e2cc610ec869758 100644 --- a/entry/build.gradle +++ b/entry/build.gradle @@ -1,9 +1,9 @@ apply plugin: 'com.huawei.ohos.hap' apply plugin: 'com.huawei.ohos.decctest' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { - compatibleSdkVersion 4 + compatibleSdkVersion 5 } buildTypes { release { @@ -21,7 +21,7 @@ dependencies { testImplementation 'junit:junit:4.13' ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100' implementation 'io.openharmony.tpc.thirdlib:XPopup:1.0.3' - implementation('com.gitee.chinasoft_ohos:vntNumber_PickerPre:0.0.1-SNAPSHOT') + implementation('com.gitee.chinasoft_ohos:vntNumber_PickerPre:0.0.2-SNAPSHOT') implementation 'io.openharmony.tpc.thirdlib:RippleEffect:1.0.1' } decc { diff --git a/entry/src/main/config.json b/entry/src/main/config.json index b185c0bf5566351595e7b933752b5f50f5133254..ec5dfd1e077b3cdc88893612fba22ea64c74b2f8 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 4e93dc2ca28d690fed8b02a58fe9c242b1513b6c..78010e1fa1ef9e5e82511284d383e1c73f3f1250 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/library/build.gradle b/library/build.gradle index da7649f79e06855d253231b925bc1caa4c398d24..f4483c36a6f6ae0c0ee0ed1b7a600af8420abd5b 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,8 +1,8 @@ apply plugin: 'com.huawei.ohos.library' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { - compatibleSdkVersion 4 + compatibleSdkVersion 5 } buildTypes { release { diff --git a/library/src/main/config.json b/library/src/main/config.json index 51fcd417e31aa209f784f2c4955d230defe626b6..d9f1443e1eddc31d36945b5cd94f011752019c77 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": 4, - "target": 5, - "releaseType": "Release" } }, "deviceConfig": {