expo-modules-test-core 0.12.0 → 0.13.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.
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'org.unimodules'
6
- version = '0.12.0'
6
+ version = '0.13.0'
7
7
 
8
8
  buildscript {
9
9
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -53,13 +53,16 @@ afterEvaluate {
53
53
  android {
54
54
  compileSdkVersion safeExtGet("compileSdkVersion", 33)
55
55
 
56
- compileOptions {
57
- sourceCompatibility JavaVersion.VERSION_11
58
- targetCompatibility JavaVersion.VERSION_11
59
- }
56
+ def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
57
+ if (agpVersion.tokenize('.')[0].toInteger() < 8) {
58
+ compileOptions {
59
+ sourceCompatibility JavaVersion.VERSION_11
60
+ targetCompatibility JavaVersion.VERSION_11
61
+ }
60
62
 
61
- kotlinOptions {
62
- jvmTarget = JavaVersion.VERSION_11.majorVersion
63
+ kotlinOptions {
64
+ jvmTarget = JavaVersion.VERSION_11.majorVersion
65
+ }
63
66
  }
64
67
 
65
68
  namespace "org.unimodules.test.core"
@@ -67,7 +70,7 @@ android {
67
70
  minSdkVersion safeExtGet("minSdkVersion", 21)
68
71
  targetSdkVersion safeExtGet("targetSdkVersion", 33)
69
72
  versionCode 3
70
- versionName '0.12.0'
73
+ versionName '0.13.0'
71
74
  }
72
75
  lintOptions {
73
76
  abortOnError false
@@ -96,13 +99,3 @@ dependencies {
96
99
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${getKotlinVersion()}"
97
100
  implementation "org.jetbrains.kotlin:kotlin-reflect:${getKotlinVersion()}"
98
101
  }
99
-
100
- /**
101
- * To make the users of annotations @OptIn and @RequiresOptIn aware of their experimental status,
102
- * the compiler raises warnings when compiling the code with these annotations:
103
- * This class can only be used with the compiler argument '-Xopt-in=kotlin.RequiresOptIn'
104
- * To remove the warnings, we add the compiler argument -Xopt-in=kotlin.RequiresOptIn.
105
- */
106
- tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
107
- kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
108
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-test-core",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "main": "./app.plugin.js",
5
5
  "description": "Module providing native testing utilities for testing Expo modules",
6
6
  "keywords": [
@@ -21,5 +21,5 @@
21
21
  "author": "650 Industries, Inc.",
22
22
  "license": "MIT",
23
23
  "homepage": "https://github.com/expo/expo/tree/main/packages/expo-modules-test-core",
24
- "gitHead": "fa5ecca8251986b9f197cc14074eec0ab6dfb6db"
24
+ "gitHead": "79607a7325f47aa17c36d266100d09a4ff2cc544"
25
25
  }