Understanding the underlying gradle magic - back to basics

Yes, that much I knew. It is the exact “ASTs on top of it” that escape me.

Working around Eclipse classpath model deficiencies. You can see some details in my other question post here: https://discuss.gradle.org/t/main-vs-test-compile-vs-runtime-classpaths-in-eclipse-once-and-for-all-how/17403
In short, we maintain having in-project “main” and “test” source sets outside Eclipse. However, when we detect that Eclipse-related tasks (such as eclipseClasspath) are executed we declare additional projects for each exiting Java project. If a project is named we dynamically create a project .test. These are local only (not in source repo) and are otherwise ignored by gradle builds. Their Eclipse configuration is set from the “parent” (main) project - source location, test classpath, etc.

Thank you!

Thank you! I suspected there is something about this but never had officially found it.

Thank you! That must be it. I explicitly set the file because I believed that i what was needed, hence cutting the branch I was sitting on.

Thanks! Will have a look.