expo-modules-autolinking 2.1.8 → 2.1.9

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,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.1.9 — 2025-04-30
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 2.1.8 — 2025-04-28
14
18
 
15
19
  ### 🐛 Bug fixes
@@ -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.9",
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": "84355076bc31a356aa3d23257f387f221885f53d"
50
50
  }