react-native-edgee 1.0.2 → 1.0.3

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.
@@ -1,4 +1,6 @@
1
1
  buildscript {
2
+ def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : project.properties["ReactNativeEdgee_kotlinVersion"]
3
+
2
4
  repositories {
3
5
  google()
4
6
  mavenCentral()
@@ -6,10 +8,12 @@ buildscript {
6
8
 
7
9
  dependencies {
8
10
  classpath "com.android.tools.build:gradle:7.2.1"
11
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
9
12
  }
10
13
  }
11
14
 
12
15
  apply plugin: "com.android.library"
16
+ apply plugin: "kotlin-android"
13
17
 
14
18
  def getExtOrDefault(name) {
15
19
  return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["ReactNativeEdgee_" + name]
@@ -43,6 +47,10 @@ android {
43
47
  sourceCompatibility JavaVersion.VERSION_1_8
44
48
  targetCompatibility JavaVersion.VERSION_1_8
45
49
  }
50
+
51
+ kotlinOptions {
52
+ jvmTarget = "1.8"
53
+ }
46
54
  }
47
55
 
48
56
  repositories {
@@ -115,6 +123,9 @@ repositories {
115
123
  }
116
124
  }
117
125
 
126
+ def kotlin_version = getExtOrDefault("kotlinVersion")
127
+
118
128
  dependencies {
119
129
  implementation "com.facebook.react:react-native:+"
130
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
120
131
  }
@@ -0,0 +1,5 @@
1
+ ReactNativeEdgee_kotlinVersion=1.7.0
2
+ ReactNativeEdgee_minSdkVersion=21
3
+ ReactNativeEdgee_targetSdkVersion=31
4
+ ReactNativeEdgee_compileSdkVersion=31
5
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-edgee",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Lightweight Edgee data collection client for React Native with native context collection.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",