react-native-risk-sdk 1.4.15 → 1.4.16
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/.vscode/settings.json +3 -0
- package/android/.classpath +1 -1
- package/android/.project +2 -2
- package/android/build.gradle +15 -9
- package/package.json +2 -2
package/android/.classpath
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<classpath>
|
|
3
|
-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-
|
|
3
|
+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-14/"/>
|
|
4
4
|
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
|
|
5
5
|
<classpathentry kind="output" path="bin/default"/>
|
|
6
6
|
</classpath>
|
package/android/.project
CHANGED
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
</natures>
|
|
23
23
|
<filteredResources>
|
|
24
24
|
<filter>
|
|
25
|
-
<id>
|
|
25
|
+
<id>1667324496906</id>
|
|
26
26
|
<name></name>
|
|
27
27
|
<type>30</type>
|
|
28
28
|
<matcher>
|
|
29
29
|
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
30
|
-
<arguments>node_modules
|
|
30
|
+
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
31
31
|
</matcher>
|
|
32
32
|
</filter>
|
|
33
33
|
</filteredResources>
|
package/android/build.gradle
CHANGED
|
@@ -10,9 +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
|
-
def DEFAULT_COMPILE_SDK_VERSION =
|
|
13
|
+
def DEFAULT_COMPILE_SDK_VERSION = 32
|
|
14
14
|
def DEFAULT_MIN_SDK_VERSION = 21
|
|
15
|
-
def DEFAULT_TARGET_SDK_VERSION =
|
|
15
|
+
def DEFAULT_TARGET_SDK_VERSION = 32
|
|
16
16
|
|
|
17
17
|
Properties properties = new Properties()
|
|
18
18
|
properties.load(project.rootProject.file('local.properties').newDataInputStream())
|
|
@@ -28,7 +28,7 @@ def safeExtGet(prop, fallback) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
apply plugin: 'com.android.library'
|
|
31
|
-
apply plugin: 'maven'
|
|
31
|
+
apply plugin: 'maven-publish'
|
|
32
32
|
|
|
33
33
|
buildscript {
|
|
34
34
|
// The Android Gradle plugin is only required when opening the android folder stand-alone.
|
|
@@ -41,13 +41,13 @@ buildscript {
|
|
|
41
41
|
jcenter()
|
|
42
42
|
}
|
|
43
43
|
dependencies {
|
|
44
|
-
classpath 'com.android.tools.build:gradle:3.
|
|
44
|
+
classpath 'com.android.tools.build:gradle:7.3.1'
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
apply plugin: 'com.android.library'
|
|
50
|
-
apply plugin: 'maven'
|
|
50
|
+
apply plugin: 'maven-publish'
|
|
51
51
|
|
|
52
52
|
android {
|
|
53
53
|
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
|
|
@@ -147,7 +147,14 @@ afterEvaluate { project ->
|
|
|
147
147
|
task androidJavadoc(type: Javadoc) {
|
|
148
148
|
source = android.sourceSets.main.java.srcDirs
|
|
149
149
|
classpath += files(android.bootClasspath)
|
|
150
|
-
classpath += files(project.getConfigurations().getByName('compile').asList())
|
|
150
|
+
// classpath += files(project.getConfigurations().getByName('compile').asList())
|
|
151
|
+
// subprojects { subproject ->
|
|
152
|
+
// if(project['name'] == 'react-native-risk-sdk'){
|
|
153
|
+
// project.configurations { compile { } }
|
|
154
|
+
// }
|
|
155
|
+
// }
|
|
156
|
+
project.getConfigurations().getByName('implementation').setCanBeResolved(true)
|
|
157
|
+
classpath += files(project.getConfigurations().getByName('implementation').asList())
|
|
151
158
|
include '**/*.java'
|
|
152
159
|
}
|
|
153
160
|
|
|
@@ -183,10 +190,9 @@ afterEvaluate { project ->
|
|
|
183
190
|
|
|
184
191
|
task installArchives(type: Upload) {
|
|
185
192
|
configuration = configurations.archives
|
|
186
|
-
repositories.
|
|
193
|
+
repositories.maven {
|
|
187
194
|
// Deploy to react-native-event-bridge/maven, ready to publish to npm
|
|
188
|
-
|
|
189
|
-
configureReactNativePom pom
|
|
195
|
+
url = uri("file://${projectDir}/../android/maven")
|
|
190
196
|
}
|
|
191
197
|
}
|
|
192
198
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-risk-sdk",
|
|
3
3
|
"title": "React Native Risk Sdk",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.16",
|
|
5
5
|
"description": "A Wrapper around the Risk Android SDK",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -28,4 +28,4 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"react-native": "^0.59.10"
|
|
30
30
|
}
|
|
31
|
-
}
|
|
31
|
+
}
|