-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Create configOnly flag for android #121904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create configOnly flag for android #121904
Conversation
|
Looks like you have compilation errors in your test |
Thank you, For my own notes I was able to find and fix these by useing. |
| final File gradleFile = fileSystem | ||
| .directory(exampleAppDir) | ||
| .childDirectory('android') | ||
| .childFile('gradlew'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this be gradlew.bat on windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes it will. I didnt realize this was something our testing relied on but I have updated the test.
| ], workingDirectory: exampleAppDir.path); | ||
|
|
||
| expect(gradleFile, exists); | ||
| expect(result.stdout, contains(RegExp(r'Config complete'))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you also assert some file that an actual assemble would have generated does NOT exist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can assert that the assembling log does not show which I think accomplishes the same goal while being a bit easier to implement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
christopherfujino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Create configOnly flag for android
#93407
Inspired by the work the iOS team has done to create a similar flag.
Additionally this is pre work for helping the flutter/packages work move towards more offline CI.