diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3e430a44605c1a58fdd3b8f4ebd9ea37fb743b32..4966bbb7cfa19b2f4077d86c86d3c79ed2fb435c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,9 @@
+## 1.0.0
+ohos 第三个版本
+- 正式版本
## 0.0.2-SNAPSHOT
-ohos 第2个版本
-* 更新sdk6
-
+ohos 第二个版本
+- 更新sdk6
## 0.0.1-SNAPSHOT
-
-ohos 第一个版本,完整实现了原库的全部 api
+ohos 第一个版本
+- 完整实现了原库的全部 api
diff --git a/README.md b/README.md
index 4f15b6a0c5a97e7980d473ad3c5714261d072479..c6b72ce70cd28a213bbe36d7bd897e4fed4779e6 100644
--- a/README.md
+++ b/README.md
@@ -4,10 +4,10 @@
- 项目名称:decoro
- 所属系列:openharmony的第三方组件适配移植
- 功能:库设计的自动格式化文本输入自定义规则。
-- 基线版本:master分支
- 项目移植状态:主功能完成
- 调用差异:无
- 开发版本:sdk6,DevEco Studio2.2 Beta1
+- 基线版本:master分支
#### 效果演示
@@ -19,7 +19,7 @@
allprojects {
repositories {
maven {
- url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
+ url 'https://s01.oss.sonatype.org/content/repositories/releases/'
}
}
}
@@ -27,7 +27,7 @@
2.在entry模块的build.gradle文件中,
```
dependencies {
- implementation('com.gitee.chinasoft_ohos:decoro:0.0.2-SNAPSHOT')
+ implementation('com.gitee.chinasoft_ohos:decoro:1.0.0')
......
}
```
@@ -76,4 +76,8 @@ CloudTest代码测试无异常
#### 版本迭代
-- 0.0.2-SNAPSHOT
\ No newline at end of file
+- 1.0.0
+
+#### 版权和许可信息
+
+Apache License 2.0
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index bf479ca657fb6b63c48c13c097af23041e8b2e1e..a0103a3d8c599f27eba4187654a7f8ff90999208 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,13 +19,16 @@ buildscript {
jcenter()
}
dependencies {
- classpath 'com.huawei.ohos:hap:2.4.5.0'
- classpath 'com.huawei.ohos:decctest:1.2.4.1'
+ classpath 'com.huawei.ohos:hap:2.4.5.5'
+ classpath 'com.huawei.ohos:decctest:1.2.5.1'
}
}
allprojects {
repositories {
+ maven {
+ url 'https://s01.oss.sonatype.org/content/repositories/releases/'
+ }
maven {
url 'https://repo.huaweicloud.com/repository/maven/'
}
diff --git a/entry/build.gradle b/entry/build.gradle
index 1e0d257cb63b1ffc12fb1ab9df1e68fa568fad83..842214cfb44f537546efe22219cc9edd242ead73 100644
--- a/entry/build.gradle
+++ b/entry/build.gradle
@@ -19,7 +19,8 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
testImplementation 'junit:junit:4.13'
ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100'
- compile project(":library")
+// compile project(":library")
+ implementation('com.gitee.chinasoft_ohos:decoro:1.0.0')
}
decc {
supportType = ['html','xml']
diff --git a/entry/src/main/resources/base/layout/ability_main.xml b/entry/src/main/resources/base/layout/ability_main.xml
index 28884d587e3768a70f91f997b5e007d80261e4db..0b6bda976b0e817673f6c1710389796ebdc1a305 100644
--- a/entry/src/main/resources/base/layout/ability_main.xml
+++ b/entry/src/main/resources/base/layout/ability_main.xml
@@ -16,7 +16,7 @@
ohos:text_size="18fp"
ohos:padding="10vp"
ohos:background_element="#e4e4e4"
- ohos:text="$string:choose_mask"/>
+ ohos:text="$string:custom_mask_button"/>