groovy - Problems with java package names in Gradle build with IntelliJ IDEA -
i have gradle project , in have groovy , java classes @ same package. build works fine when import project in intelij 13 ide tells me in java files have wrong package names.
\src\main\groovy\com\example\boo\foo\problem.java with package
package com.example.boo.foo; and there no error with
\src\main\groovy\com\example\boo\foo\sample.groovy with package
package com.example.boo.foo how remove error?
you need make sure java code packaged under java , groovy code packaged under groovy. see example in screenshot below:

Comments
Post a Comment