Gradle module creation

Answered

Hi,

In the latest 2016.2 EAP, my Gradle project no longer has the sub-modules created per SourceSet (mymodule_main, mymodule_test etc). How does Gradle module synchronisation work now?

Cheers,

Colin

5 comments
Comment actions Permalink
Official comment

Hi Colin, thanks for the feedback, this is a bug in IntelliJ eap, try to use Gradle version > 2.5

Comment actions Permalink

Do you have this option enabled?

If it's not the case, please share a sample project to reproduce the problem.

0
Comment actions Permalink

Yes, I do - for me, https://github.com/oakmac/parinfer-jvm reproduces the problem.

I'm on 162.426.1 on OSX.

0
Comment actions Permalink

I also get the following errors while resolving the project:

Project build classpath resolve errors
Warning:<i><b>root project 'parinfer': Unable to resolve additional buildscript classpath dependencies</b>
Details: groovy.lang.MissingPropertyException: No such property: id for class: org.gradle.api.internal.artifacts.DefaultResolvedArtifact
Possible solutions: file</i>
Warning:<i><b>root project 'parinfer': Unable to resolve additional buildscript classpath dependencies</b>
Details: groovy.lang.MissingPropertyException: No such property: id for class: org.gradle.api.internal.artifacts.DefaultResolvedArtifact
Possible solutions: file</i>
Project resolve errors
Warning:<i><b>root project 'parinfer': Unable to resolve additional project configuration.</b>
Details: groovy.lang.MissingPropertyException: No such property: id for class: org.gradle.api.internal.artifacts.DefaultResolvedArtifact
Possible solutions: file</i>
Warning:<i><b>root project 'parinfer': Unable to resolve additional project configuration.</b>
Details: groovy.lang.MissingPropertyException: No such property: id for class: org.gradle.api.internal.artifacts.DefaultResolvedArtifact
Possible solutions: file</i>

0
Comment actions Permalink

Thanks Vladislav, upgrading to 2.11 fixed it.

0

Please sign in to leave a comment.