diff --git a/CHANGELOG.md b/CHANGELOG.md index 40cb33607c906d42adc1f62210567d9fca5e66a6..9ad50bc3557beeea4ecc86a6977f2cb82934109d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,5 @@ +## 0.0.2-SNAPSHOT +ohos 第二个版本 +* 更新sdk6 ## 0.0.1-SNAPSHOT -ohos 第一个版本,完整实现了原库的全部 api +* ohos 第一个版本,完整实现了原库的全部 api diff --git a/README.md b/README.md index c39afe5af783a538ea614679cbd4f8f94c68cf09..b159cc2ad4c532845715dc7fca8466efaf04d811 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,10 @@ 高度可定制:单品、组件化完美支持,对于插件化环境。也可以针对性的定制使用 - 项目移植状态:已完成 - 调用差异:无 -- 开发版本:sdk5,DevEco Studio2.1 Release -- 基线版本:Release 2.8.6 +- 开发版本:sdk6,DevEco Studio2.2 Beta1 +- 基线版本:Router release 2.8.6 -## 效果演示 +## 演示效果 @@ -160,7 +160,7 @@ Router经过长期的迭代,对拦截器进行了详细的分类,提供了 Router.create(url).addInterceptor(interceptor1).addInterceptor(interceptor2).open(context); ``` -3. 指定目标的拦截器:对指定的目标页面生效 +3. 指定目标的拦截器:对指定的目标页面生效 // 在配置的RouterRule的目标页,添加此RouteInterceptors注解即可。 // 在此配置的拦截器,当使用路由启动此页面时,即可被触发。 @@ -284,8 +284,7 @@ CloudTest代码测试无异常 当前版本demo功能与原组件基本无差异 -## 版本迭代 -- 0.0.1-SNAPSHOT +## 版本迭代- 0.0.2-SNAPSHOT ## 版权和许可信息 diff --git a/build.gradle b/build.gradle index 5e5cfbed4ac000bc067561a8e01b5b4e7f91de4f..f0c73f75841a46b558f59b3d99e82c8f916c5dd3 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 6bd231f3cc4b412b519e322e874446b7add3e0ed..589e9fba18a0527aceeecaf0365431e58e4db0bd 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 } @@ -11,11 +11,11 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) testImplementation 'junit:junit:4.13' ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100' - implementation 'com.gitee.chinasoft_ohos:router_api:0.0.1-SNAPSHOT' - annotationProcessor 'com.gitee.chinasoft_ohos:router_compiler:0.0.1-SNAPSHOT' + implementation 'com.gitee.chinasoft_ohos:router_api:0.0.2-SNAPSHOT' + annotationProcessor 'com.gitee.chinasoft_ohos:router_compiler:0.0.2-SNAPSHOT' // 这是依赖本地方式 - // annotationProcessor project(path:':router_compiler') - // implementation project(path:':router_api') +// annotationProcessor project(path:':router_compiler') +// implementation project(path:':router_api') } decc { supportType = ['html','xml'] diff --git a/entry/src/main/config.json b/entry/src/main/config.json index b5d68a38ecd8a245d915601f967426be168d910d..24c44a2831d05975d63ea1c8c2e0e435f30489e8 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": 5, - "target": 5, - "releaseType": "Release" } }, "deviceConfig": {}, diff --git a/router_api/build.gradle b/router_api/build.gradle index 25ba0075ff6b2fdc9d745f471138b1f96f00948e..ac594f3ae7200fe838242be585a94501680b2ddf 100644 --- a/router_api/build.gradle +++ b/router_api/build.gradle @@ -1,6 +1,6 @@ apply plugin: 'com.huawei.ohos.library' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } diff --git a/router_api/src/main/config.json b/router_api/src/main/config.json index f39e09b830f260411116ea36e32e41724c3fba8b..4a291a069100db4a91a4e27194635f908aaea0a7 100644 --- a/router_api/src/main/config.json +++ b/router_api/src/main/config.json @@ -5,11 +5,6 @@ "version": { "code": 1000000, "name": "1.0.0" - }, - "apiVersion": { - "compatible": 5, - "target": 6, - "releaseType": "Release" } }, "deviceConfig": {},