Currently I have a TestNG project that uses Gradle for the dependency management. The tests are currently ran using TestNG xml files and Idea's TestNG runner.
I've tried adding the project to TeamCity in order to get a nightly regression test running for all the TestNG tests in the project, but I can't figure out how to get it to run in TeamCity. I have one build configuration grab the current code from the master branch of the git repo and then build it using Gradle. That one works just fine and without error.
But when I try to add an Intellij IDEA Project build configuration, it fails to compile parts of the project, specifically it won't compile the JOOQ generated code that I use to access a database.
C:\TeamCity\buildAgent\work\3cb51db1f1141a11\src\main\java\org\jooq\db\stage\tables\records\TransferRecordsRecord.java:11: cannot find symbol
symbol: class Field
location: package org.jooq
And it prints a hundred more of these for various classes in the same library.