Gradle 2.14-rc-1 breaks convention access

(Danny Thomas) #1

Believe the Gradle team is aware of this (assume this is Groovy -> Java migration for core classes), but thought I’d post in the event you need more examples:

java.lang.ClassCastException: org.gradle.api.plugins.JavaPluginConvention cannot be cast to groovy.lang.GroovyObject
	at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(

For call:

(Stefan Wolf) #2

Thank you for reporting. This is a known compatibility issue with Gradle 2.14-rc-1 and Gradle plugins and will be fixed in rc-2.

(Jason Miller) #3

Glad to hear this will be addressed! I was about to report this one myself as I noticed it broke several nebula plugins and wasn’t looking forward to working around it.