diff --git a/build.gradle b/build.gradle index 031e5766d439b42969e2b5b1e9bbe419861d8406..f0c73f75841a46b558f59b3d99e82c8f916c5dd3 100644 --- a/build.gradle +++ b/build.gradle @@ -26,6 +26,9 @@ buildscript { allprojects { repositories { + maven { + url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' + } maven { url 'https://mirrors.huaweicloud.com/repository/maven/' } diff --git a/entry/build.gradle b/entry/build.gradle index 9007bb820c8b13dd3d3eb118d9fdc0d5870c5be7..b3ca89fead060fefa64daab7ec108f7b56dcfaa9 100644 --- a/entry/build.gradle +++ b/entry/build.gradle @@ -13,7 +13,7 @@ ohos { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) testImplementation 'junit:junit:4.13' - implementation project(':lottie') implementation project(':guideview') + implementation('com.gitee.chinasoft_ohos:lottie:0.0.1-SNAPSHOT') ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100' } diff --git a/lottie/.gitignore b/lottie/.gitignore deleted file mode 100644 index 796b96d1c402326528b4ba3c12ee9d92d0e212e9..0000000000000000000000000000000000000000 --- a/lottie/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/lottie/build.gradle b/lottie/build.gradle deleted file mode 100644 index 2bf851a9b69515690602e701b065f95eb05e895d..0000000000000000000000000000000000000000 --- a/lottie/build.gradle +++ /dev/null @@ -1,13 +0,0 @@ -apply plugin: 'com.huawei.ohos.library' -ohos { - compileSdkVersion 6 - defaultConfig { - compatibleSdkVersion 5 - } - -} - -dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - testImplementation 'junit:junit:4.13' -} diff --git a/lottie/src/main/config.json b/lottie/src/main/config.json deleted file mode 100644 index 7b84dfc351a39f56269abe4adfa3ffa90497b11f..0000000000000000000000000000000000000000 --- a/lottie/src/main/config.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "app": { - "bundleName": "com.demo.aty", - "vendor": "airbnb", - "version": { - "code": 1000000, - "name": "1.0.0" - } - }, - "deviceConfig": {}, - "module": { - "package": "com.airbnb.lottie", - "deviceType": [ - "phone" - ], - "distro": { - "deliveryWithInstall": true, - "moduleName": "lottie", - "moduleType": "har" - } - } -} \ No newline at end of file diff --git a/lottie/src/main/java/com/airbnb/lottie/Lottie.java b/lottie/src/main/java/com/airbnb/lottie/Lottie.java deleted file mode 100644 index 4d84886b4ac2bd85945dfc83843dc80f8a8b3219..0000000000000000000000000000000000000000 --- a/lottie/src/main/java/com/airbnb/lottie/Lottie.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.airbnb.lottie; - -import ohos.agp.components.element.FrameAnimationElement; -import ohos.app.Context; - -public class Lottie { - public static FrameAnimationElement getFrameAnimationElement(Context context) { - return new FrameAnimationElement(context, com.airbnb.lottie.ResourceTable.Graphic_animation_element); - } -} diff --git a/lottie/src/main/resources/base/element/string.json b/lottie/src/main/resources/base/element/string.json deleted file mode 100644 index f46aa503fe1cd1a56a4d3bb2cdf4fe1617c22628..0000000000000000000000000000000000000000 --- a/lottie/src/main/resources/base/element/string.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "string": [ - { - "name": "app_name", - "value": "lottie" - } - ] -} diff --git a/lottie/src/main/resources/base/graphic/animation_element.xml b/lottie/src/main/resources/base/graphic/animation_element.xml deleted file mode 100644 index a329e24fd0bafe5f465ae1dd2813eecd6bbfe442..0000000000000000000000000000000000000000 --- a/lottie/src/main/resources/base/graphic/animation_element.xml +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/lottie/src/main/resources/base/media/iv_animation1.png b/lottie/src/main/resources/base/media/iv_animation1.png deleted file mode 100644 index 6691c92479f7149e57dd62dc7a236c717c3a5a3c..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation1.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation10.png b/lottie/src/main/resources/base/media/iv_animation10.png deleted file mode 100644 index 09d65f207937261b0eaf88a8103f8685540c0c12..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation10.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation11.png b/lottie/src/main/resources/base/media/iv_animation11.png deleted file mode 100644 index d1f19c0280e9109cfa4ec51cbf70c9b8ea7ea670..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation11.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation12.png b/lottie/src/main/resources/base/media/iv_animation12.png deleted file mode 100644 index 87c7aeafc58718042d654aee9313eb8e2b8050d1..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation12.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation13.png b/lottie/src/main/resources/base/media/iv_animation13.png deleted file mode 100644 index 957a66e4557afd11d9e57f15f84daf7365058708..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation13.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation14.png b/lottie/src/main/resources/base/media/iv_animation14.png deleted file mode 100644 index fc4feb1be8aa2cc8adf18d7d58747c2aeb98fec2..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation14.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation15.png b/lottie/src/main/resources/base/media/iv_animation15.png deleted file mode 100644 index 08c795c81758b533adcecddcf8fa710d52ba1972..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation15.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation16.png b/lottie/src/main/resources/base/media/iv_animation16.png deleted file mode 100644 index 25d4f932b2a54c674e18688e694c6c5ee54fc9b8..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation16.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation17.png b/lottie/src/main/resources/base/media/iv_animation17.png deleted file mode 100644 index a16129734e2f9385944963c790766cfa240d8c14..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation17.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation18.png b/lottie/src/main/resources/base/media/iv_animation18.png deleted file mode 100644 index 9e5e1b095def7d925792886227acbec87f296de1..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation18.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation19.png b/lottie/src/main/resources/base/media/iv_animation19.png deleted file mode 100644 index c70b4ac689b4d3f3b86dfe3323dee89bfad0f12f..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation19.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation2.png b/lottie/src/main/resources/base/media/iv_animation2.png deleted file mode 100644 index 2275483844f6f54999fdc0adfc1044b344dd4991..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation2.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation20.png b/lottie/src/main/resources/base/media/iv_animation20.png deleted file mode 100644 index 1f2de16e61868e8ad5583108cdb62d31077c8c7f..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation20.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation21.png b/lottie/src/main/resources/base/media/iv_animation21.png deleted file mode 100644 index 2a8f833a737dfbc0458f198bd50899c4445b7f0c..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation21.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation22.png b/lottie/src/main/resources/base/media/iv_animation22.png deleted file mode 100644 index 9a5c52f87e5c6b5375c5f1bdd98795d00bcff07b..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation22.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation23.png b/lottie/src/main/resources/base/media/iv_animation23.png deleted file mode 100644 index 2ad869f4e0816e32545381a041826607736daccb..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation23.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation24.png b/lottie/src/main/resources/base/media/iv_animation24.png deleted file mode 100644 index 6b941c1aa86e094fe423bafff8c301bedb09d165..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation24.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation25.png b/lottie/src/main/resources/base/media/iv_animation25.png deleted file mode 100644 index e0c512bff6168dc7f4d23fb53e0fdc97bb27a2a4..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation25.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation26.png b/lottie/src/main/resources/base/media/iv_animation26.png deleted file mode 100644 index 44b9786bd40035c769ba2102e17631326880175c..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation26.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation27.png b/lottie/src/main/resources/base/media/iv_animation27.png deleted file mode 100644 index c56a5495ae618023b22d2ac5e40dab4f49cef940..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation27.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation28.png b/lottie/src/main/resources/base/media/iv_animation28.png deleted file mode 100644 index a9dd68b39eb60179da939b940a22219aaa1390b5..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation28.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation29.png b/lottie/src/main/resources/base/media/iv_animation29.png deleted file mode 100644 index 4bbf8dce73648e80038590194d46118880e391c8..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation29.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation3.png b/lottie/src/main/resources/base/media/iv_animation3.png deleted file mode 100644 index 746dc319e3e9e8118b0abf920e02796c237ae989..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation3.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation30.png b/lottie/src/main/resources/base/media/iv_animation30.png deleted file mode 100644 index e6eea03f07dcf70f28f51a8a462b9de9ebaeb3af..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation30.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation31.png b/lottie/src/main/resources/base/media/iv_animation31.png deleted file mode 100644 index 4ab4a09a9ff4ec010f40cee57327e5dda1c7194c..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation31.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation32.png b/lottie/src/main/resources/base/media/iv_animation32.png deleted file mode 100644 index 09c60c80b59683c01ab2fd76d238d36d35f4750b..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation32.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation33.png b/lottie/src/main/resources/base/media/iv_animation33.png deleted file mode 100644 index f1c07517120e2fd8748381685b9016dde9f86d7a..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation33.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation34.png b/lottie/src/main/resources/base/media/iv_animation34.png deleted file mode 100644 index e88b11bec9ba67bdd7f881f48444b056e263d998..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation34.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation35.png b/lottie/src/main/resources/base/media/iv_animation35.png deleted file mode 100644 index dc1584f96f6f1a7e021bbb4ca8615e3ad322cd98..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation35.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation36.png b/lottie/src/main/resources/base/media/iv_animation36.png deleted file mode 100644 index 1e90abffd7440e35dfa4ea9af68521d68a0180e8..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation36.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation37.png b/lottie/src/main/resources/base/media/iv_animation37.png deleted file mode 100644 index f0222b42a0cd02b6b0d64d201a92a4638529aa54..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation37.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation38.png b/lottie/src/main/resources/base/media/iv_animation38.png deleted file mode 100644 index 88be490e1685fd4273f2bee11975e05b15552fc3..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation38.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation39.png b/lottie/src/main/resources/base/media/iv_animation39.png deleted file mode 100644 index ea2957ef5742b2e8defe64351a7296a1a7f90f3b..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation39.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation4.png b/lottie/src/main/resources/base/media/iv_animation4.png deleted file mode 100644 index d72f8098e1fc175d9e15133810587d4b66c14fb0..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation4.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation40.png b/lottie/src/main/resources/base/media/iv_animation40.png deleted file mode 100644 index d3a20ff2d65703d365377fcab333e5ff4256fcc7..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation40.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation41.png b/lottie/src/main/resources/base/media/iv_animation41.png deleted file mode 100644 index 608bfa04cc9b25830e56d953f854442fd17c444e..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation41.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation42.png b/lottie/src/main/resources/base/media/iv_animation42.png deleted file mode 100644 index bf7b58eb831256835bfb79411ae82347f06fe00f..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation42.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation43.png b/lottie/src/main/resources/base/media/iv_animation43.png deleted file mode 100644 index bf644b42205a06475d5283305cdef94db412ae05..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation43.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation5.png b/lottie/src/main/resources/base/media/iv_animation5.png deleted file mode 100644 index 68c9081f401ebf85c605f3ed6c1f1b9a4640e712..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation5.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation6.png b/lottie/src/main/resources/base/media/iv_animation6.png deleted file mode 100644 index fa74ade39f4b3e1eb0415256c7b47e8c67a47974..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation6.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation7.png b/lottie/src/main/resources/base/media/iv_animation7.png deleted file mode 100644 index 319fa9f6b243b18c5d3a0b30cb9f5973a2bac22c..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation7.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation8.png b/lottie/src/main/resources/base/media/iv_animation8.png deleted file mode 100644 index 037775f2a11c6b69056683d236c4db64d471259a..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation8.png and /dev/null differ diff --git a/lottie/src/main/resources/base/media/iv_animation9.png b/lottie/src/main/resources/base/media/iv_animation9.png deleted file mode 100644 index 22999818b2276f3630a477076d6cb72bade822ea..0000000000000000000000000000000000000000 Binary files a/lottie/src/main/resources/base/media/iv_animation9.png and /dev/null differ diff --git a/settings.gradle b/settings.gradle index c83a33aa3cc36787099d76ce5a600e0f32ee98fb..949daff63e64a19226afbf9e14e8c9823645bcb6 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -include ':entry', ':guideview',':lottie' +include ':entry', ':guideview'