expo-modules-autolinking 2.1.8 → 2.1.10

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,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.1.10 — 2025-05-06
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [Android] Fixed project properties were not being resolved correctly. ([#36666](https://github.com/expo/expo/pull/36666) by [@lukmccall](https://github.com/lukmccall))
18
+
19
+ ## 2.1.9 — 2025-04-30
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 2.1.8 — 2025-04-28
14
24
 
15
25
  ### 🐛 Bug fixes
@@ -14,7 +14,7 @@ import kotlin.jvm.optionals.getOrNull
14
14
  class ExpoRootProjectPlugin : Plugin<Project> {
15
15
  override fun apply(rootProject: Project) {
16
16
  val versionCatalogs = rootProject.extensions.getByType(VersionCatalogsExtension::class.java)
17
- val libs = versionCatalogs.find("libs")
17
+ val libs = versionCatalogs.find("expoLibs")
18
18
 
19
19
  with(rootProject) {
20
20
  defineDefaultProperties(libs)
@@ -112,11 +112,18 @@ class SettingsManager(
112
112
  }
113
113
 
114
114
  settings.gradle.beforeRootProject { rootProject: Project ->
115
- config.allPlugins.forEach(rootProject::linkBuildDependence)
116
- config.extraDependencies.forEach { mavenConfig ->
115
+ val extraDependency = config.extraDependencies
116
+ extraDependency.forEach { mavenConfig ->
117
117
  rootProject.logger.quiet("Adding extra maven repository: ${mavenConfig.url}")
118
- rootProject.linkMavenRepository(mavenConfig)
118
+
119
119
  }
120
+ rootProject.allprojects { project ->
121
+ extraDependency.forEach { mavenConfig ->
122
+ project.linkMavenRepository(mavenConfig)
123
+ }
124
+ }
125
+
126
+ config.allPlugins.forEach(rootProject::linkBuildDependence)
120
127
 
121
128
  // Adds maven repositories for all projects that are using the publication.
122
129
  // It most likely means that we will add "https://maven.pkg.github.com/expo/expo" to the repositories.
@@ -37,7 +37,7 @@ internal fun Project.linkMavenRepository(mavenRepo: MavenRepo) {
37
37
  val (url, credentials, authentication) = mavenRepo
38
38
 
39
39
  repositories.maven { maven ->
40
- maven.url = URI.create(url)
40
+ maven.setUrl(url)
41
41
  maven.applyCredentials(credentials)
42
42
  maven.applyAuthentication(authentication)
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-autolinking",
3
- "version": "2.1.8",
3
+ "version": "2.1.10",
4
4
  "description": "Scripts that autolink Expo modules.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "license": "MIT",
35
35
  "homepage": "https://github.com/expo/expo/tree/main/packages/expo-modules-autolinking#readme",
36
36
  "devDependencies": {
37
- "expo-module-scripts": "~4.1.5",
37
+ "expo-module-scripts": "~4.1.6",
38
38
  "minimatch": "^9.0.0"
39
39
  },
40
40
  "dependencies": {
@@ -46,5 +46,5 @@
46
46
  "require-from-string": "^2.0.2",
47
47
  "resolve-from": "^5.0.0"
48
48
  },
49
- "gitHead": "a639a661a5329e58f916cf69b8f1a7718bbdd26e"
49
+ "gitHead": "907224d194d100adb3dff522d4d7be91ee43be51"
50
50
  }