• Amir Hardon's avatar
    Workaround the Gradle crash due to non ASCII chars. (#26024) · 3782b6ab
    Amir Hardon authored
    Cirrus puts the PR description and commit message in environment
    variables.
    These messages tend to have non ASCII characters sometimes (like
    emojis), which triggers a Gradle bug (gradle/gradle#3117) resulting
    in Gradle crashing without a helpful error message.
    
    The real solution to this problem should be fixing the Gradle bug.
    The better workaround on the Flutter side would be to set a UTF8 locale
    on the Cirrus machine, but I have yet figured out how to do it.
    For now to avoid more people from hitting this I'm working around by
    temporarily unsetting the Cirrus environment variables with the PR
    description and commit message.
    
    A non ASCII character to make sure it works: 😄
    3782b6ab
.cirrus.yml 8.23 KB