Affects Version/s: 2.0-beta-1, 1.8.6
Fix Version/s: None
Number of attachments :
If I have a standard gradle project setup (attached):
I have a single Abstract base class:
And a class GroovyBase that extends this class:
When running this (using the Gradle script in the attachment), I get the exception:
Changing the line
Or making the base field public in the AbstractBase class makes it work.
It's as if the classes are considered to be in different packages for some things, but not for others.
Thinking about it, not sure if this is a Gradle bug or a Groovy cross compiler one.
To run the tests, unpack the attachment, and run:
You can change the groovy version from 1.8.6 by passing (for example) -Pgroovy=groovy=2.0.0-beta-2