[GRADLE-3537] Classloading issue for Enum as task input property Created: 26/Aug/16 Updated: 12/Sep/16 Resolved: 12/Sep/16
|Affects Version/s:||2.11, 2.12, 2.13, 2.14.1, 3.0|
|Reporter:||Benjamin Muschko||Assignee:||Lari Hotari|
An Enum is defined as class in buildSrc. For example:
The given enum is used as input property for an ad-hoc task:
Executing the task leads to the following exception:
The following test case reproduces the issue on some of the coverage builds: TaskInputPropertiesIntegrationTest.can use Enum from buildSrc as input property.