@eohjsc/react-native-smart-city 0.6.2-rc5 → 0.6.2-rc7
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 +8 -7
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -10,11 +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
|
-
apply plugin: 'maven-publish'
|
|
13
|
+
|
|
15
14
|
|
|
16
15
|
def DEFAULT_COMPILE_SDK_VERSION = 34
|
|
17
|
-
def DEFAULT_BUILD_TOOLS_VERSION = '
|
|
16
|
+
def DEFAULT_BUILD_TOOLS_VERSION = '30.0.2'
|
|
18
17
|
def DEFAULT_MIN_SDK_VERSION = 24
|
|
19
18
|
def DEFAULT_TARGET_SDK_VERSION = 34
|
|
20
19
|
|
|
@@ -22,9 +21,8 @@ def safeExtGet(prop, fallback) {
|
|
|
22
21
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
23
22
|
}
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
24
|
+
apply plugin: 'com.android.library'
|
|
25
|
+
apply plugin: 'maven-publish'
|
|
28
26
|
|
|
29
27
|
buildscript {
|
|
30
28
|
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
@@ -42,6 +40,9 @@ buildscript {
|
|
|
42
40
|
}
|
|
43
41
|
}
|
|
44
42
|
|
|
43
|
+
apply plugin: 'com.android.library'
|
|
44
|
+
apply plugin: 'maven-publish'
|
|
45
|
+
|
|
45
46
|
android {
|
|
46
47
|
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
|
|
47
48
|
buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
|
|
@@ -110,7 +111,7 @@ afterEvaluate { project ->
|
|
|
110
111
|
task androidJavadoc(type: Javadoc) {
|
|
111
112
|
source = android.sourceSets.main.java.srcDirs
|
|
112
113
|
classpath += files(android.bootClasspath)
|
|
113
|
-
classpath += files(project.getConfigurations().getByName('
|
|
114
|
+
classpath += files(project.getConfigurations().getByName('implementation').asList())
|
|
114
115
|
include '**/*.java'
|
|
115
116
|
}
|
|
116
117
|
|