Classpath to Gradle

Multiple projects…

On compilation getting a error: package com.viryanet.transcoder.lexer does not exist

which I think means the project can’t resolve the classes it depends on. I’ve added project dependency, tried exsplict class dir but not resolving the error.

When a project depends on another project, where does the class path dependency get declared? In Eclipse it looks like this from the project which has the dependency:
<classpathentry kind=“src” path="/Transcoder_Lexer"/>

I have a custom srcDir, resourceDir, outputDir in the project being depended on.

Please provide related snippets from your build.gradle