Thanks for the responses! I created a completely new Gradle project and to my surprise it did not complain about my UTF-8 characters. In both cases, Eclipse claims that the project is encoded in UTF-8 (which I see by going to Project -> Properties, and then the Resource section). I was hoping to upload a screenshot of this, but it says that new users can’t upload images.
I do not see any meaningful differences between the settings.gradle, build.gradle, or .project file contained in a fresh project and my old project. If there is something I should be looking for, please let me know.
I am running Mac OS 10.9 and Eclipse Luna (4.4.2). I am not familiar enough with Gradle to run it from the command line, so I don’t know if that will work.
Here is the full error output (with path and file names changed):
Gradle Tasks: build
Working Directory: /Users/Will/Eclipse Workspace/MyProject
Gradle Distribution: Gradle wrapper from target build
Gradle User Home: Use default defined by Gradle
Java Home: Use default defined by Gradle
JVM Arguments: Use default defined by Gradle
Program Arguments: None
:compileJava/Users/Will/Eclipse Workspace/MyProject/src/main/java/MyFileDialog.java:39: error: unmappable character for encoding ASCII
[Several more of these errors appear]
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 2.121 secs