@eohjsc/react-native-smart-city 0.4.24 → 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.
- package/android/build.gradle +19 -24
- package/package.json +3 -3
package/android/build.gradle
CHANGED
|
@@ -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 =
|
|
14
|
-
def DEFAULT_BUILD_TOOLS_VERSION = '
|
|
15
|
-
def DEFAULT_MIN_SDK_VERSION =
|
|
16
|
-
def DEFAULT_TARGET_SDK_VERSION =
|
|
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
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
|
|
117
|
-
|
|
118
|
-
|
|
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.
|
|
144
|
-
|
|
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.
|
|
4
|
+
"version": "0.4.26",
|
|
5
5
|
"description": "TODO",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"files": [
|
|
@@ -118,7 +118,6 @@
|
|
|
118
118
|
"@react-native-community/netinfo": "^9.3.4",
|
|
119
119
|
"@react-native-community/segmented-control": "^2.1.1",
|
|
120
120
|
"@react-native-community/slider": "^3.0.3",
|
|
121
|
-
"@react-native-community/toolbar-android": "^0.1.0-rc.2",
|
|
122
121
|
"@react-native-picker/picker": "^1.16.7",
|
|
123
122
|
"@react-navigation/bottom-tabs": "^5.8.0",
|
|
124
123
|
"@react-navigation/drawer": "^5.9.0",
|
|
@@ -136,7 +135,8 @@
|
|
|
136
135
|
"i18n-js": "^3.7.1",
|
|
137
136
|
"i18next": "^20.1.0",
|
|
138
137
|
"lodash": "^4.17.19",
|
|
139
|
-
"lottie-
|
|
138
|
+
"lottie-ios": "3.4.1",
|
|
139
|
+
"lottie-react-native": "5.1.4",
|
|
140
140
|
"moment": "^2.27.0",
|
|
141
141
|
"moment-timezone": "^0.5.32",
|
|
142
142
|
"numeral": "^2.0.6",
|