@datadog/mobile-react-native-session-replay 2.0.2-alpha.0 → 2.0.4-alpha.0

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.
@@ -105,6 +105,15 @@ android {
105
105
  buildConfig = true
106
106
  }
107
107
  }
108
+ if (agpVersion.tokenize('.')[0].toInteger() < 8) {
109
+ compileOptions {
110
+ sourceCompatibility JavaVersion.VERSION_11
111
+ targetCompatibility JavaVersion.VERSION_11
112
+ }
113
+ kotlinOptions {
114
+ jvmTarget = JavaVersion.VERSION_11.majorVersion
115
+ }
116
+ }
108
117
 
109
118
  defaultConfig {
110
119
  minSdkVersion 21
@@ -197,10 +206,6 @@ dependencies {
197
206
  }
198
207
 
199
208
  tasks.withType(Test) {
200
- tasks.withType(KotlinCompile) {
201
- kotlinOptions.jvmTarget = JavaVersion.VERSION_11
202
- }
203
-
204
209
  useJUnitPlatform {
205
210
  includeEngines("spek", "junit-jupiter", "junit-vintage")
206
211
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datadog/mobile-react-native-session-replay",
3
- "version": "2.0.2-alpha.0",
3
+ "version": "2.0.4-alpha.0",
4
4
  "description": "A client-side React Native module to enable session replay with Datadog",
5
5
  "keywords": [
6
6
  "datadog",