@eohjsc/react-native-smart-city 0.4.25 → 0.4.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,17 +10,17 @@
10
10
  // original location:
11
11
  // - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/app/build.gradle
12
12
 
13
- def DEFAULT_COMPILE_SDK_VERSION = 28
14
- def DEFAULT_BUILD_TOOLS_VERSION = '28.0.3'
15
- def DEFAULT_MIN_SDK_VERSION = 16
16
- def DEFAULT_TARGET_SDK_VERSION = 28
13
+ def DEFAULT_COMPILE_SDK_VERSION = 33
14
+ def DEFAULT_BUILD_TOOLS_VERSION = '30.0.3'
15
+ def DEFAULT_MIN_SDK_VERSION = 24
16
+ def DEFAULT_TARGET_SDK_VERSION = 33
17
17
 
18
18
  def safeExtGet(prop, fallback) {
19
19
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
20
20
  }
21
21
 
22
22
  apply plugin: 'com.android.library'
23
- apply plugin: 'maven'
23
+ apply plugin: 'maven-publish'
24
24
 
25
25
  buildscript {
26
26
  // The Android Gradle plugin is only required when opening the android folder stand-alone.
@@ -38,9 +38,6 @@ buildscript {
38
38
  }
39
39
  }
40
40
 
41
- apply plugin: 'com.android.library'
42
- apply plugin: 'maven'
43
-
44
41
  android {
45
42
  compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
46
43
  buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
@@ -106,17 +103,17 @@ def configureReactNativePom(def pom) {
106
103
  afterEvaluate { project ->
107
104
  // some Gradle build hooks ref:
108
105
  // https://www.oreilly.com/library/view/gradle-beyond-the/9781449373801/ch03.html
109
- task androidJavadoc(type: Javadoc) {
110
- source = android.sourceSets.main.java.srcDirs
111
- classpath += files(android.bootClasspath)
112
- classpath += files(project.getConfigurations().getByName('compile').asList())
113
- include '**/*.java'
114
- }
115
-
116
- task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
117
- classifier = 'javadoc'
118
- from androidJavadoc.destinationDir
119
- }
106
+ // task androidJavadoc(type: Javadoc) {
107
+ // source = android.sourceSets.main.java.srcDirs
108
+ // classpath += files(android.bootClasspath)
109
+ // classpath += files(project.getConfigurations().getByName('compile').asList())
110
+ // include '**/*.java'
111
+ // }
112
+
113
+ // task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
114
+ // classifier = 'javadoc'
115
+ // from androidJavadoc.destinationDir
116
+ // }
120
117
 
121
118
  task androidSourcesJar(type: Jar) {
122
119
  classifier = 'sources'
@@ -135,15 +132,13 @@ afterEvaluate { project ->
135
132
 
136
133
  artifacts {
137
134
  archives androidSourcesJar
138
- archives androidJavadocJar
135
+ // archives androidJavadocJar
139
136
  }
140
137
 
141
138
  task installArchives(type: Upload) {
142
139
  configuration = configurations.archives
143
- repositories.mavenDeployer {
144
- // Deploy to react-native-event-bridge/maven, ready to publish to npm
145
- repository url: "file://${projectDir}/../android/maven"
146
- configureReactNativePom pom
140
+ repositories.maven {
141
+ url = uri("file://${projectDir}/../android/maven")
147
142
  }
148
143
  }
149
144
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.4.25",
4
+ "version": "0.4.26",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -135,7 +135,8 @@
135
135
  "i18n-js": "^3.7.1",
136
136
  "i18next": "^20.1.0",
137
137
  "lodash": "^4.17.19",
138
- "lottie-react-native": "4.0.3",
138
+ "lottie-ios": "3.4.1",
139
+ "lottie-react-native": "5.1.4",
139
140
  "moment": "^2.27.0",
140
141
  "moment-timezone": "^0.5.32",
141
142
  "numeral": "^2.0.6",