expo-module-template-local 0.2.0 → 0.4.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 = '<%- project.package %>'
6
- version = '0.2.0'
6
+ version = '0.4.0'
7
7
 
8
8
  buildscript {
9
9
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -53,21 +53,24 @@ 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 "<%- project.package %>"
66
69
  defaultConfig {
67
70
  minSdkVersion safeExtGet("minSdkVersion", 21)
68
- targetSdkVersion safeExtGet("targetSdkVersion", 33)
71
+ targetSdkVersion safeExtGet("targetSdkVersion", 34)
69
72
  versionCode 1
70
- versionName "0.2.0"
73
+ versionName "0.4.0"
71
74
  }
72
75
  lintOptions {
73
76
  abortOnError false
@@ -5,7 +5,7 @@ Pod::Spec.new do |s|
5
5
  s.description = 'A sample project description'
6
6
  s.author = ''
7
7
  s.homepage = 'https://docs.expo.dev/modules/'
8
- s.platform = :ios, '13.0'
8
+ s.platform = :ios, '13.4'
9
9
  s.source = { git: '' }
10
10
  s.static_framework = true
11
11
 
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
16
16
  'DEFINES_MODULE' => 'YES',
17
17
  'SWIFT_COMPILATION_MODE' => 'wholemodule'
18
18
  }
19
-
19
+
20
20
  s.source_files = "**/*.{h,m,mm,swift,hpp,cpp}"
21
21
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-module-template-local",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "ExpoModuleTemplate standalone module",
5
5
  "scripts": {},
6
6
  "keywords": [
@@ -22,5 +22,5 @@
22
22
  "dependencies": {},
23
23
  "devDependencies": {},
24
24
  "peerDependencies": {},
25
- "gitHead": "fa5ecca8251986b9f197cc14074eec0ab6dfb6db"
25
+ "gitHead": "3142a086578deffd8704a8f1b6f0f661527d836c"
26
26
  }