Skip to content

Commit 305ab1a

Browse files
kongshanshan33aam
authored andcommitted
Fix project directory has spaces lead to compile error when use 'flutter create -t module'command (flutter#23817)
1 parent 0468742 commit 305ab1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter_tools/templates/module/android/library/include_flutter.groovy.copy.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Generated file. Do not edit.
22

3-
def scriptFile = getClass().protectionDomain.codeSource.location.path
3+
def scriptFile = getClass().protectionDomain.codeSource.location.toURI()
44
def flutterProjectRoot = new File(scriptFile).parentFile.parentFile
55

66
gradle.include ':flutter'

0 commit comments

Comments
 (0)