Skip to content

Commit 82c54a4

Browse files
hamdij0maamizinin
andauthored
Update codepush.gradle: fix Could not find matching constructor for: … (#2649)
* Update codepush.gradle: fix Could not find matching constructor for: java.io.File(File) * Update android/codepush.gradle Co-authored-by: Artem Mizinin <[email protected]> --------- Co-authored-by: Artem Mizinin <[email protected]>
1 parent 61321a1 commit 82c54a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/codepush.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ gradle.projectsEvaluated {
6060
jsBundleDir = reactBundleTask.property('jsBundleDir').asFile.get()
6161
resourcesDir = reactBundleTask.property('resourcesDir').asFile.get()
6262

63-
new File(jsBundleDir).mkdirs()
64-
new File(resourcesDir).mkdirs()
63+
jsBundleDir.mkdirs()
64+
resourcesDir.mkdirs()
6565

6666
jsBundleFile = file("$jsBundleDir/$bundleAssetName")
6767

0 commit comments

Comments
 (0)