You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problema: ao fazer build no Gradle, obtive os seguintes erros:
[ant:scalac] Compiling 6 scala and 1 java source files to /Users/vinicius/Projects/Personal/Para-onde-foi-meu-voto/scala/build/classes/main
[ant:scalac] error: IO error while decoding /Users/vinicius/Projects/Personal/Para-onde-foi-meu-voto/scala/src/main/scala/voto/MapaDeVereadores.scala with UTF-8
[ant:scalac] Please try specifying another one using the -encoding option
[ant:scalac] error: IO error while decoding /Users/vinicius/Projects/Personal/Para-onde-foi-meu-voto/scala/src/main/scala/voto/Projetos.scala with UTF-8
[ant:scalac] Please try specifying another one using the -encoding option
[ant:scalac] error: IO error while decoding /Users/vinicius/Projects/Personal/Para-onde-foi-meu-voto/scala/src/main/scala/voto/Chars.java with UTF-8
[ant:scalac] Please try specifying another one using the -encoding option
[ant:scalac] three errors found
@jonasabreu sabe como resolver isso? Dei uma fuçada rápida mas nada pareceu ajudar.
Update: esses arquivos usam referências a caracteres especiais que o UTF-8 não está reconhecendo. Tentei salvar os 3 arquivos com UTF-8, eles ficam legíveis mas começo a ter erros de compilação que não reconhece literais char.
Exemplo:
[ant:javac] case 'ô':
[ant:javac] ^
[ant:javac] /Users/vinicius/Projects/Personal/Para-onde-foi-meu-voto/scala/src/main/scala/voto/Chars.java:88: unclosed character literal
No description provided.
The text was updated successfully, but these errors were encountered: