@norcy/react-native-toolkit 0.1.156 → 0.1.158

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.
@@ -144,5 +144,6 @@ ext.applyAll = { targetProject ->
144
144
  applyBuildTypes(targetProject)
145
145
  applyCommonAndroidConfig(targetProject)
146
146
  applyCommonPlugins(targetProject)
147
+ applyCommonDependencies(targetProject)
147
148
  }
148
149
 
@@ -0,0 +1,37 @@
1
+ def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim())
2
+
3
+ allprojects {
4
+ repositories {
5
+ maven { url 'https://raw.githubusercontent.com/Norcy/maven/master/repository/' }
6
+ mavenLocal()
7
+ maven {
8
+ url("$rootDir/../node_modules/react-native/android")
9
+ }
10
+ maven {
11
+ url("$rootDir/../node_modules/jsc-android/dist")
12
+ }
13
+ maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
14
+ maven { url 'https://repo1.maven.org/maven2/' }
15
+ mavenCentral()
16
+ google()
17
+ }
18
+
19
+ configurations.all {
20
+ resolutionStrategy {
21
+ force "com.facebook.react:react-native:" + '0.62.2.9.1'
22
+ force 'androidx.core:core-ktx:1.6.0'
23
+ }
24
+ }
25
+
26
+ afterEvaluate { project ->
27
+ if (project.hasProperty("android")) {
28
+ android {
29
+ compileOptions {
30
+ sourceCompatibility JavaVersion.VERSION_1_8
31
+ targetCompatibility JavaVersion.VERSION_1_8
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norcy/react-native-toolkit",
3
- "version": "0.1.156",
3
+ "version": "0.1.158",
4
4
  "description": "My Toolkit",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",