So I am trying to set up a root and sub-project for a implementation relying on an API sub-project, but I keep getting the following error when I refresh dependencies from what I think is me lacking some sort of property setting:
Warning:root project 'Guilds': Unable to resolve additional project configuration.
Details: groovy.lang.MissingPropertyException: Could not get unknown property 'projectConfiguration' for DefaultProjectDependency{dependencyProject='project ':guilds-api'', configuration='default'} of type org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency.
I tried reading the documentation and finding similar issues but nothing seemed to match. It seems I am supposed to apply some sort of property but I donât remember having to do that before and I donât see anything about it on the documentation.
I can reproduce this issue with known good builds, but only via the Tooling API (IDEs) and with recent 4.0 nightly builds.
Does everything work fine at the command line? If so, did you specifically verify that 2.14 and 3.5 were actually picked up and used by the Tooling API?
I had the exact same problem when trying to refresh a Gradle project via Intellij IDEA Ultimate 2017.1 (built March-something). Upgrading to 2017.2 made it go away instantly, after hours of wasted time (Gradle version was 4.0.1 in both cases), so make of that what you will.
I know itâs not 100% relevant to the discussion but maybe itâll help someone else down the line.
I had the same issue with IDEA 2017.1 and Gradle 4. Some modules didinât import correctly, IDEA âGradle projectsâ view didnât show source sets, and âtestâ source set wasnât even added to intellijâs classpath, so running tests under intellij caused âempty test suiteâ errors.
The only thing I could do was downgrading Gradle to 3.5