expo-modules-autolinking 2.0.0-preview.0 → 2.0.0-preview.1

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,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.0.0-preview.1 — 2024-10-25
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fixed build error from `gradleAarProjects`. ([#32349](https://github.com/expo/expo/pull/32349) by [@kudo](https://github.com/kudo))
18
+
13
19
  ## 2.0.0-preview.0 — 2024-10-22
14
20
 
15
21
  ### 🛠 Breaking changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-autolinking",
3
- "version": "2.0.0-preview.0",
3
+ "version": "2.0.0-preview.1",
4
4
  "description": "Scripts that autolink Expo modules.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -48,5 +48,5 @@
48
48
  "require-from-string": "^2.0.2",
49
49
  "resolve-from": "^5.0.0"
50
50
  },
51
- "gitHead": "685ebb8a213326cb33c80281ca8756b374ccb63d"
51
+ "gitHead": "5ad642a63afa9190ceb4e57dd52c8bdf71d93dd8"
52
52
  }
@@ -245,7 +245,11 @@ if (rootProject instanceof ProjectDescriptor) {
245
245
  }
246
246
  for (moduleAarProject in module.aarProjects) {
247
247
  include(":${moduleAarProject.name}")
248
- project(":${moduleAarProject.name}").projectDir = new File(moduleAarProject.projectDir)
248
+ def projectDir = new File(moduleAarProject.projectDir)
249
+ if (!projectDir.exists()) {
250
+ projectDir.mkdirs()
251
+ }
252
+ project(":${moduleAarProject.name}").projectDir = projectDir
249
253
  }
250
254
  }
251
255