From 2ac5e722f84bfb80fa041d60f781c71831026869 Mon Sep 17 00:00:00 2001 From: lilinfeng-z <3211270061@qq.com> Date: Thu, 8 Jul 2021 09:56:23 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9readme,changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ Readme.md | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40cb336..374b1ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,6 @@ +## 0.0.2-SNAPSHOT +修改findbugs问题 + + ## 0.0.1-SNAPSHOT ohos 第一个版本,完整实现了原库的全部 api diff --git a/Readme.md b/Readme.md index bced58b..9f634de 100644 --- a/Readme.md +++ b/Readme.md @@ -30,7 +30,7 @@ allprojects { 2.在entry模块的build.gradle文件中, ``` dependencies { - implementation('com.gitee.chinasoft_ohos:ShadowDrawable:0.0.1-SNAPSHOT') + implementation('com.gitee.chinasoft_ohos:ShadowDrawable:0.0.2-SNAPSHOT') ...... } ``` @@ -54,7 +54,7 @@ CloudTest代码测试无异常 当前版本demo功能与原组件基本无差异 ## 版本迭代 -- 0.0.1-SNAPSHOT +- 0.0.2-SNAPSHOT ## 版权和许可信息 ``` -- Gitee From 2e5f7feebf6addfce127a4f5a8ceb59e2262c581 Mon Sep 17 00:00:00 2001 From: lilinfeng-z <3211270061@qq.com> Date: Thu, 8 Jul 2021 11:13:26 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shadowdrawabledemo/slice/GridExampleSlice.java | 14 ++++++++++++++ .../shadowdrawabledemo/slice/ListExampleSlice.java | 14 ++++++++++++++ .../shadowdrawabledemo/slice/MainAbilitySlice.java | 14 ++++++++++++++ .../slice/PagerExampleSlice.java | 14 ++++++++++++++ .../slice/RecycleExampleSlice.java | 14 ++++++++++++++ 5 files changed, 70 insertions(+) diff --git a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/GridExampleSlice.java b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/GridExampleSlice.java index 5888c4d..daeb92a 100644 --- a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/GridExampleSlice.java +++ b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/GridExampleSlice.java @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.sxu.shadowdrawabledemo.slice; import com.sxu.shadowdrawable.ShadowDrawable; diff --git a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/ListExampleSlice.java b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/ListExampleSlice.java index a92e501..33b7387 100644 --- a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/ListExampleSlice.java +++ b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/ListExampleSlice.java @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.sxu.shadowdrawabledemo.slice; import com.sxu.shadowdrawable.ShadowDrawable; diff --git a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/MainAbilitySlice.java b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/MainAbilitySlice.java index 10e1d0e..b3d6603 100644 --- a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/MainAbilitySlice.java +++ b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/MainAbilitySlice.java @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.sxu.shadowdrawabledemo.slice; import com.sxu.shadowdrawable.ShadowDrawable; diff --git a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/PagerExampleSlice.java b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/PagerExampleSlice.java index fe18bc8..704decc 100644 --- a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/PagerExampleSlice.java +++ b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/PagerExampleSlice.java @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.sxu.shadowdrawabledemo.slice; import com.sxu.shadowdrawable.ShadowDrawable; diff --git a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/RecycleExampleSlice.java b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/RecycleExampleSlice.java index c857b73..8deb68a 100644 --- a/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/RecycleExampleSlice.java +++ b/entry/src/main/java/com/sxu/shadowdrawabledemo/slice/RecycleExampleSlice.java @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.sxu.shadowdrawabledemo.slice; import com.sxu.shadowdrawable.ShadowDrawable; -- Gitee From 00f23a1edb108661ba4161fc65fed0f780ecad43 Mon Sep 17 00:00:00 2001 From: lilinfeng-z <3211270061@qq.com> Date: Thu, 8 Jul 2021 14:27:14 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/sxu/shadowdrawabledemo/MyApplication.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/entry/src/main/java/com/sxu/shadowdrawabledemo/MyApplication.java b/entry/src/main/java/com/sxu/shadowdrawabledemo/MyApplication.java index f75ba1c..a492191 100644 --- a/entry/src/main/java/com/sxu/shadowdrawabledemo/MyApplication.java +++ b/entry/src/main/java/com/sxu/shadowdrawabledemo/MyApplication.java @@ -1,3 +1,17 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.sxu.shadowdrawabledemo; import ohos.aafwk.ability.AbilityPackage; -- Gitee