expo-modules-autolinking 3.1.0-canary-20251211-7da85ea → 3.1.0-canary-20251216-6e1f9a7
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.
|
@@ -7,6 +7,7 @@ import com.android.build.api.variant.ApplicationAndroidComponentsExtension
|
|
|
7
7
|
import expo.modules.plugin.text.Colors
|
|
8
8
|
import expo.modules.plugin.text.Emojis
|
|
9
9
|
import expo.modules.plugin.text.withColor
|
|
10
|
+
import expo.modules.plugin.utils.camelToKebab
|
|
10
11
|
import org.gradle.internal.cc.base.logger
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -23,7 +24,7 @@ class ExpoMaxSdkOverridePlugin : Plugin<Project> {
|
|
|
23
24
|
|
|
24
25
|
androidComponents.onVariants(androidComponents.selector().all()) { variant ->
|
|
25
26
|
val taskName = "expo${variant.name.replaceFirstChar { it.uppercase() }}OverrideMaxSdkConflicts"
|
|
26
|
-
val blameReportPath = "outputs/logs/manifest-merger-${variant.name}-report.txt"
|
|
27
|
+
val blameReportPath = "outputs/logs/manifest-merger-${variant.name.camelToKebab()}-report.txt"
|
|
27
28
|
val reportFile = project.layout.buildDirectory.file(blameReportPath)
|
|
28
29
|
val fixTaskProvider = project.tasks.register(
|
|
29
30
|
taskName,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
package expo.modules.plugin.utils
|
|
2
|
+
|
|
3
|
+
fun String.camelToKebab(): String {
|
|
4
|
+
val builder = StringBuilder()
|
|
5
|
+
for (char in this) {
|
|
6
|
+
if (char.isUpperCase()) {
|
|
7
|
+
builder.append("-")
|
|
8
|
+
builder.append(char.lowercaseChar())
|
|
9
|
+
} else {
|
|
10
|
+
builder.append(char)
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return builder.toString()
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-autolinking",
|
|
3
|
-
"version": "3.1.0-canary-
|
|
3
|
+
"version": "3.1.0-canary-20251216-6e1f9a7",
|
|
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": "5.1.0-canary-
|
|
37
|
+
"expo-module-scripts": "5.1.0-canary-20251216-6e1f9a7",
|
|
38
38
|
"memfs": "^3.2.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|