@scrumble-nl/react-native-honeywell-scanner 1.1.1 → 1.1.2

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.
@@ -20,7 +20,7 @@ def safeExtGet(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.
@@ -30,7 +30,7 @@ buildscript {
30
30
  if (project == rootProject) {
31
31
  repositories {
32
32
  google()
33
- jcenter()
33
+ mavenCentral()
34
34
  }
35
35
  dependencies {
36
36
  classpath 'com.android.tools.build:gradle:4.2.2'
@@ -39,7 +39,7 @@ buildscript {
39
39
  }
40
40
 
41
41
  apply plugin: 'com.android.library'
42
- apply plugin: 'maven'
42
+ apply plugin: 'maven-publish'
43
43
 
44
44
  android {
45
45
  compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
@@ -66,8 +66,15 @@ repositories {
66
66
  // Android JSC is installed from npm
67
67
  url "$rootDir/../node_modules/jsc-android/dist"
68
68
  }
69
+ mavenCentral {
70
+ // We don't want to fetch react-native from Maven Central as there are
71
+ // older versions over there.
72
+ content {
73
+ excludeGroup "com.facebook.react"
74
+ }
75
+ }
69
76
  google()
70
- jcenter()
77
+ maven { url 'https://www.jitpack.io' }
71
78
  }
72
79
 
73
80
  dependencies {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scrumble-nl/react-native-honeywell-scanner",
3
3
  "title": "React Native Honeywell Scanner",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "description": "Bridge to use the Honeywell scanner",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",