Skip to content

Commit

Permalink
fix: No signature of method: org.gradle.internal.extensibility.Defaul…
Browse files Browse the repository at this point in the history
…tExtraPropertiesExtension.kotlinVersion() is applicable for argument types: () values: []

expo/expo#24945 (comment)
  • Loading branch information
linonetwo committed Feb 8, 2024
1 parent d3ecd37 commit b6ecd14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"start": "expo start",
"start:tunnel": "expo start --tunnel --android",
"start:devClient": "npx expo start --dev-client --android",
"web": "expo start --web"
"web": "expo start --web",
"postinstall": "zx scripts/fix-gradle.mjs"
},
"dependencies": {
"@react-native-async-storage/async-storage": "1.21.0",
Expand Down
1 change: 1 addition & 0 deletions scripts/fix-gradle.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
await $`find ./node_modules -name "build.gradle" -exec sed -i 's/kotlinVersion()/kotlinVersion/g' {} +`;

0 comments on commit b6ecd14

Please sign in to comment.