@eohjsc/react-native-smart-city 0.6.2-rc1 → 0.6.2-rc11
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 -13
- package/package.json +1 -2
package/android/build.gradle
CHANGED
|
@@ -10,8 +10,10 @@
|
|
|
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
|
+
|
|
14
|
+
|
|
13
15
|
def DEFAULT_COMPILE_SDK_VERSION = 34
|
|
14
|
-
def DEFAULT_BUILD_TOOLS_VERSION = '
|
|
16
|
+
def DEFAULT_BUILD_TOOLS_VERSION = '30.0.2'
|
|
15
17
|
def DEFAULT_MIN_SDK_VERSION = 24
|
|
16
18
|
def DEFAULT_TARGET_SDK_VERSION = 34
|
|
17
19
|
|
|
@@ -20,7 +22,11 @@ def safeExtGet(prop, fallback) {
|
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
apply plugin: 'com.android.library'
|
|
23
|
-
apply plugin: 'maven'
|
|
25
|
+
apply plugin: 'maven-publish'
|
|
26
|
+
|
|
27
|
+
configurations {
|
|
28
|
+
compileClasspath
|
|
29
|
+
}
|
|
24
30
|
|
|
25
31
|
buildscript {
|
|
26
32
|
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
@@ -33,13 +39,13 @@ buildscript {
|
|
|
33
39
|
jcenter()
|
|
34
40
|
}
|
|
35
41
|
dependencies {
|
|
36
|
-
classpath 'com.android.tools.build:gradle:
|
|
42
|
+
classpath 'com.android.tools.build:gradle:7.1.2'
|
|
37
43
|
}
|
|
38
44
|
}
|
|
39
45
|
}
|
|
40
46
|
|
|
41
47
|
apply plugin: 'com.android.library'
|
|
42
|
-
apply plugin: 'maven'
|
|
48
|
+
apply plugin: 'maven-publish'
|
|
43
49
|
|
|
44
50
|
android {
|
|
45
51
|
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
|
|
@@ -109,7 +115,7 @@ afterEvaluate { project ->
|
|
|
109
115
|
task androidJavadoc(type: Javadoc) {
|
|
110
116
|
source = android.sourceSets.main.java.srcDirs
|
|
111
117
|
classpath += files(android.bootClasspath)
|
|
112
|
-
classpath += files(project.getConfigurations().getByName('
|
|
118
|
+
classpath += files(project.getConfigurations().getByName('compileClasspath').asList())
|
|
113
119
|
include '**/*.java'
|
|
114
120
|
}
|
|
115
121
|
|
|
@@ -138,12 +144,12 @@ afterEvaluate { project ->
|
|
|
138
144
|
archives androidJavadocJar
|
|
139
145
|
}
|
|
140
146
|
|
|
141
|
-
task installArchives(type: Upload) {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
147
|
+
// task installArchives(type: Upload) {
|
|
148
|
+
// configuration = configurations.archives
|
|
149
|
+
// repositories.mavenDeployer {
|
|
150
|
+
// // Deploy to react-native-event-bridge/maven, ready to publish to npm
|
|
151
|
+
// repository url: "file://${projectDir}/../android/maven"
|
|
152
|
+
// configureReactNativePom pom
|
|
153
|
+
// }
|
|
154
|
+
// }
|
|
149
155
|
}
|
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.6.2-
|
|
4
|
+
"version": "0.6.2-rc11",
|
|
5
5
|
"description": "TODO",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"files": [
|
|
@@ -154,7 +154,6 @@
|
|
|
154
154
|
"react-native-alert-async": "^1.0.5",
|
|
155
155
|
"react-native-android-keyboard-adjust": "^1.2.0",
|
|
156
156
|
"react-native-android-location-enabler": "^1.2.2",
|
|
157
|
-
"react-native-android-wifi": "^0.0.41",
|
|
158
157
|
"react-native-appearance": "^0.3.4",
|
|
159
158
|
"react-native-base64": "^0.1.0",
|
|
160
159
|
"react-native-ble-plx": "^2.0.3",
|