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 +4 -0
- package/android/expo-gradle-plugin/expo-autolinking-settings-plugin/src/main/kotlin/expo/modules/plugin/SettingsManager.kt +10 -3
- package/android/expo-gradle-plugin/expo-autolinking-settings-plugin/src/main/kotlin/expo/modules/plugin/gradle/ProjectExtension.kt +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -112,11 +112,18 @@ class SettingsManager(
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
settings.gradle.beforeRootProject { rootProject: Project ->
|
|
115
|
-
config.
|
|
116
|
-
|
|
115
|
+
val extraDependency = config.extraDependencies
|
|
116
|
+
extraDependency.forEach { mavenConfig ->
|
|
117
117
|
rootProject.logger.quiet("Adding extra maven repository: ${mavenConfig.url}")
|
|
118
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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": "
|
|
49
|
+
"gitHead": "84355076bc31a356aa3d23257f387f221885f53d"
|
|
50
50
|
}
|