Hi, I've recently upgraded a project from M3 to M6. With M6 I failed to compile the project because dependencies needed within custom source sets were not resolved correctly.
I've got a simple build file like the following: apply plugin: "java" repositories { mavenCentral() } sourceSets { antlr } dependencies { compile(group: "org.antlr", name: "antlr-runtime", version: "3.3") { exclude module: "stringtemplate" } } The source set "antlr" contains a single Java class which uses classes from the "org.antlr.runtime" package. Doing "gradle compileAntlrJava" works just fine with M4 and below. However, starting with M5 it fails with a compile error "package org.antlr.runtime does not exist". I read the M5 release notes, but couldn't find anything which would explain this behavior. Now I hope that somebody can tell me what the problem is? Did I miss anything? Thanks a lot Martin