I downloaded a maven project which has a single top level pom.xml file. I ran “gradle build.” I got lots of errors that all say something similar to the following:
/Users/user/ProjectName/src/main/java/com/a/b/c/ServerJob:92: error: cannot find symbol
job = Job.getInstance(conf1);
^
symbol: method getInstance(Configuration)
location: class Job
[...]
I added the fully qualified package name to JobName in the extends so it looks like the following:
public class ServerJob extends com/e/f/g/h/JobName
But still no joy.
What am I missing?
Yes, I’m new to Gradle. Gradle is the wave of the future.
$ gradle --version
------------------------------------------------------------
Gradle 2.11
------------------------------------------------------------
Build time: 2016-02-08 07:59:16 UTC
Build number: none
Revision: 584db1c7c90bdd1de1d1c4c51271c665bfcba978
Groovy: 2.4.4
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.7.0_51 (Oracle Corporation 24.51-b03)
OS: Linux 3.8.0-19-generic amd64