@scrumble-nl/react-native-honeywell-scanner 1.1.5 → 1.1.7
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 +10 -15
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -10,17 +10,8 @@
|
|
|
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 = 30
|
|
14
|
-
def DEFAULT_BUILD_TOOLS_VERSION = '30.0.2'
|
|
15
|
-
def DEFAULT_MIN_SDK_VERSION = 21
|
|
16
|
-
def DEFAULT_TARGET_SDK_VERSION = 30
|
|
17
|
-
|
|
18
|
-
def safeExtGet(prop, fallback) {
|
|
19
|
-
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
20
|
-
}
|
|
21
|
-
|
|
22
13
|
apply plugin: 'com.android.library'
|
|
23
|
-
apply plugin: 'maven'
|
|
14
|
+
apply plugin: 'maven-publish'
|
|
24
15
|
|
|
25
16
|
buildscript {
|
|
26
17
|
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
@@ -36,18 +27,22 @@ buildscript {
|
|
|
36
27
|
classpath 'com.android.tools.build:gradle:4.2.2'
|
|
37
28
|
}
|
|
38
29
|
}
|
|
30
|
+
|
|
31
|
+
plugins {
|
|
32
|
+
id: 'maven-publish'
|
|
33
|
+
}
|
|
39
34
|
}
|
|
40
35
|
|
|
41
36
|
apply plugin: 'com.android.library'
|
|
42
|
-
apply plugin: 'maven'
|
|
37
|
+
apply plugin: 'maven-publish'
|
|
43
38
|
|
|
44
39
|
android {
|
|
45
40
|
ndkVersion "21.4.7075529"
|
|
46
|
-
compileSdkVersion
|
|
47
|
-
buildToolsVersion
|
|
41
|
+
compileSdkVersion 30
|
|
42
|
+
buildToolsVersion "30.0.2"
|
|
48
43
|
defaultConfig {
|
|
49
|
-
minSdkVersion
|
|
50
|
-
targetSdkVersion
|
|
44
|
+
minSdkVersion 21
|
|
45
|
+
targetSdkVersion 30
|
|
51
46
|
versionCode 1
|
|
52
47
|
versionName "1.0"
|
|
53
48
|
}
|
package/package.json
CHANGED