Starting gradle builds inside IntelliJ IDEA works fine. If, although I run it from the command line, it does not give an error for each individual src character.
"Execution failed for task": compileJava. "
I assume that he cannot find a compiler that is odd, because running javac from the same command line shows that he is alive and kicking.
This is one of those moments when I'm really at a standstill. This is mistake? Does IDEA insert something to stop you using the command line with the same build script? Of course, everything that IDEA does is anyway coming to the command line?
Any help is greatly appreciated.
EDIT:
A command line error includes hundreds of this type:
/ *** .java: 89:
closed literal character '±', '§', '~', '' ',' \ '', ^
/ *** .java: 94:
illegal launch of type for (int x = 0; x <forbidden.length; x ++) {^
/ *** .java: 94:
')' is expected for (int x = 0; x <forbidden.length; x ++) {^
Literally every line in the class file causes an error. As I said, compiling using the IDEA built-in build process is great as it uses the Jet gradle plugin. Also, on the command line, a clean gradle task also works fine.
source share