unimodules-app-loader 4.5.1 → 4.6.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.
package/CHANGELOG.md CHANGED
@@ -10,9 +10,11 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
- ## 4.5.1 — 2024-04-15
13
+ ## 4.6.0 — 2024-04-18
14
14
 
15
- _This version does not introduce any user-facing changes._
15
+ ### 💡 Others
16
+
17
+ - Removed deprecated backward compatible Gradle settings. ([#28083](https://github.com/expo/expo/pull/28083) by [@kudo](https://github.com/kudo))
16
18
 
17
19
  ## 4.5.0 — 2023-11-14
18
20
 
@@ -1,108 +1,19 @@
1
1
  apply plugin: 'com.android.library'
2
- apply plugin: 'kotlin-android'
3
- apply plugin: 'maven-publish'
4
2
 
5
3
  group = 'host.exp.exponent'
6
- version = '4.5.1'
4
+ version = '4.6.0'
7
5
 
8
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
9
- if (expoModulesCorePlugin.exists()) {
10
- apply from: expoModulesCorePlugin
11
- applyKotlinExpoModulesCorePlugin()
12
- // Remove this check, but keep the contents after SDK49 support is dropped
13
- if (safeExtGet("expoProvidesDefaultConfig", false)) {
14
- useExpoPublishing()
15
- }
16
- }
17
-
18
- buildscript {
19
- // Simple helper that allows the root project to override versions declared by this library.
20
- ext.safeExtGet = { prop, fallback ->
21
- rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
22
- }
23
-
24
- // Ensures backward compatibility
25
- ext.getKotlinVersion = {
26
- if (ext.has("kotlinVersion")) {
27
- ext.kotlinVersion()
28
- } else {
29
- ext.safeExtGet("kotlinVersion", "1.8.10")
30
- }
31
- }
32
-
33
- repositories {
34
- mavenCentral()
35
- }
36
-
37
- dependencies {
38
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${getKotlinVersion()}")
39
- }
40
- }
41
-
42
- // Remove this if and it's contents, when support for SDK49 is dropped
43
- if (!safeExtGet("expoProvidesDefaultConfig", false)) {
44
- afterEvaluate {
45
- publishing {
46
- publications {
47
- release(MavenPublication) {
48
- from components.release
49
- }
50
- }
51
- repositories {
52
- maven {
53
- url = mavenLocal().url
54
- }
55
- }
56
- }
57
- }
58
- }
7
+ apply from: expoModulesCorePlugin
8
+ applyKotlinExpoModulesCorePlugin()
9
+ useCoreDependencies()
10
+ useDefaultAndroidSdkVersions()
11
+ useExpoPublishing()
59
12
 
60
13
  android {
61
- // Remove this if and it's contents, when support for SDK49 is dropped
62
- if (!safeExtGet("expoProvidesDefaultConfig", false)) {
63
- compileSdkVersion safeExtGet("compileSdkVersion", 34)
64
-
65
- defaultConfig {
66
- minSdkVersion safeExtGet("minSdkVersion", 23)
67
- targetSdkVersion safeExtGet("targetSdkVersion", 34)
68
- }
69
-
70
- publishing {
71
- singleVariant("release") {
72
- withSourcesJar()
73
- }
74
- }
75
-
76
- lintOptions {
77
- abortOnError false
78
- }
79
- }
80
-
81
- def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
82
- if (agpVersion.tokenize('.')[0].toInteger() < 8) {
83
- compileOptions {
84
- sourceCompatibility JavaVersion.VERSION_11
85
- targetCompatibility JavaVersion.VERSION_11
86
- }
87
-
88
- kotlinOptions {
89
- jvmTarget = JavaVersion.VERSION_11.majorVersion
90
- }
91
- }
92
-
93
14
  namespace "org.unimodules.apploader"
94
15
  defaultConfig {
95
16
  versionCode 8
96
- versionName '4.5.1'
17
+ versionName '4.6.0'
97
18
  }
98
19
  }
99
-
100
- repositories {
101
- mavenCentral()
102
- }
103
-
104
- dependencies {
105
- api project(':expo-modules-core')
106
-
107
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${getKotlinVersion()}"
108
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unimodules-app-loader",
3
- "version": "4.5.1",
3
+ "version": "4.6.0",
4
4
  "description": "App loader for background applications",
5
5
  "keywords": [
6
6
  "react-native",
@@ -21,5 +21,5 @@
21
21
  "devDependencies": {
22
22
  "expo-module-scripts": "^3.0.0"
23
23
  },
24
- "gitHead": "88a8226609b870c0635c39da43ac8306c4dc7031"
24
+ "gitHead": "4165b8d72e1b9a1889c2767534cc619e21468110"
25
25
  }