I’m new to gradle but got it on my Ubuntu machine. Thing is, whatever I try to do, it always fails on the compileGroovy step, claiming it cannot import common Java packages like java.nio.file.Files. Even ‘gradle clean’ will result in several of these errors:
unable to resolve class java.nio.file.Files @ line 6, column 1. import java.nio.file.Files;
I cannot find anybody with similar issues, not on Google and not in my vicinity, so I’m at a loss on where to start looking for solutions.
I’m using Java 1.6.0_45, gradle 2.4 and Ubuntu 14.04.2. My Eclipse and other Java programs work fine btw.
Anybody who can give me a few pointers?