Make paths absolute in settings.gradle (#33228)
This commit is contained in:
parent
1bd85dd6c2
commit
12a0e475e2
@ -2,4 +2,4 @@
|
||||
include ':app'
|
||||
|
||||
setBinding(new Binding([gradle: this]))
|
||||
evaluate(new File('../.android/include_flutter.groovy'))
|
||||
evaluate(new File(settingsDir.parentFile, '.android/include_flutter.groovy'))
|
||||
|
@ -3,4 +3,4 @@ include ':app'
|
||||
|
||||
rootProject.name = 'android_generated'
|
||||
setBinding(new Binding([gradle: this]))
|
||||
evaluate(new File('include_flutter.groovy'))
|
||||
evaluate(new File(settingsDir, 'include_flutter.groovy'))
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
rootProject.name = 'android_generated'
|
||||
setBinding(new Binding([gradle: this]))
|
||||
evaluate(new File('include_flutter.groovy'))
|
||||
evaluate(new File(settingsDir, 'include_flutter.groovy'))
|
||||
|
@ -126,7 +126,7 @@ void main() {
|
||||
expectExists(project.directory.childDirectory('.android').childDirectory('Flutter'));
|
||||
expect(
|
||||
project.directory.childDirectory('android').childFile('settings.gradle').readAsStringSync(),
|
||||
contains('../.android/include_flutter.groovy'),
|
||||
contains('new File(settingsDir.parentFile, \'.android/include_flutter.groovy\')'),
|
||||
);
|
||||
});
|
||||
testInMemory('can be redone after deletion', () async {
|
||||
|
Loading…
x
Reference in New Issue
Block a user