@eohjsc/react-native-smart-city 0.6.2-rc1 → 0.6.2-rc2
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 +4 -7
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -10,6 +10,9 @@
|
|
|
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
|
+
apply plugin: 'com.android.library'
|
|
14
|
+
apply plugin: 'maven-publish'
|
|
15
|
+
|
|
13
16
|
def DEFAULT_COMPILE_SDK_VERSION = 34
|
|
14
17
|
def DEFAULT_BUILD_TOOLS_VERSION = '28.0.3'
|
|
15
18
|
def DEFAULT_MIN_SDK_VERSION = 24
|
|
@@ -19,9 +22,6 @@ def safeExtGet(prop, fallback) {
|
|
|
19
22
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
20
23
|
}
|
|
21
24
|
|
|
22
|
-
apply plugin: 'com.android.library'
|
|
23
|
-
apply plugin: 'maven'
|
|
24
|
-
|
|
25
25
|
buildscript {
|
|
26
26
|
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
27
27
|
// This avoids unnecessary downloads and potential conflicts when the library is included as a
|
|
@@ -33,14 +33,11 @@ buildscript {
|
|
|
33
33
|
jcenter()
|
|
34
34
|
}
|
|
35
35
|
dependencies {
|
|
36
|
-
classpath 'com.android.tools.build:gradle:
|
|
36
|
+
classpath 'com.android.tools.build:gradle:7.1.2'
|
|
37
37
|
}
|
|
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)
|