diff --git a/README.OPENSOURCE b/README.OPENSOURCE index 5029f80462630bd4f70b840e2ed609c7255f85e7..2c48a38b4713a4a2d132ab4d7ce213b52084be86 100644 --- a/README.OPENSOURCE +++ b/README.OPENSOURCE @@ -8,7 +8,7 @@ "License File": "LICENSE", - "Version Number": "2.0", + "Version Number": "master", "Upstream URL": "https://github.com/tyrantgit/ExplosionField", diff --git a/README.md b/README.md index 41f68617b79a9c09329d4ad77e0835584b5ac2b7..253bea0af92c0a4eb4603ff1b818bd1d0b5b7772 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,35 @@ # ExplosionField #### 项目介绍 -- 项目名称:爆炸性粉尘动画视图 +- 项目名称:ExplosionField - 所属系列:openharmony的第三方组件适配移植 - 功能:自定义的一个炫酷爆炸性粉尘效果的动画视图 - 项目移植状态:主功能完成 - 调用差异:无 - 开发版本:sdk5,DevEco Studio2.1 Release -- 基线版本:Release master +- 基线版本:master #### 效果演示 #### 安装教程 - 1.在项目根目录下的build.gradle文件中, - allprojects { - repositories { - maven { - url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' - } - } - } - 2.在entry模块的build.gradle文件中, - dependencies { - implementation('com.gitee.chinasoft_ohos3:hawk:0.0.1-SNAPSHOT') - +1.在项目根目录下的build.gradle文件中, + + ``` + allprojects { + repositories { + maven { + url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' + } + } + } + ``` +2.在entry模块的build.gradle文件中, + + ``` + dependencies { + implementation('com.gitee.chinasoft_ohos:ExplosionField:0.0.1-SNAPSHOT') + ...... + } + ``` 在sdk5,DevEco Studio2.1 Release下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, diff --git a/build.gradle b/build.gradle index d3c9f1fef7ce4e18162867c20c11bfc65e1a8d28..3c52aa1178cc9d802a490b6029d1298d9f3e0e1a 100644 --- a/build.gradle +++ b/build.gradle @@ -32,6 +32,9 @@ allprojects { maven { url 'https://developer.huawei.com/repo/' } + maven { + url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' + } jcenter() } } diff --git a/entry/build.gradle b/entry/build.gradle index c19573e84358a9f0698ebb60fb9f02a41a1ab87a..22317761c9eae5e097b20324beab1f666e027c7d 100644 --- a/entry/build.gradle +++ b/entry/build.gradle @@ -19,8 +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(path: ':explosionfield') + implementation('com.gitee.chinasoft_ohos:ExplosionField:0.0.1-SNAPSHOT') } decc { - supportType = ['html','xml'] + supportType = ['html', 'xml'] }