Missing dependency org/gradle/api/internal/DynamicObject prevents extending plugin task


(Dustin Johnson) #1

Gradle Version: 3.0 & nightly builds
Operating System and JVM version: Mac OSX and Java 1.8.0_66
Is this a regression? If yes, which version of Gradle do you know it last worked for? Yes, 2.13 (have not tried any intermediate versions)

Sample project: Gradle 3.0/FlywayDB 4.0.3, cannot extend AbstractFlywayTask

(Benjamin Muschko) #2

You are likely seeing a binary incompatibility of the plugin with the Gradle version in use. The class DynamicObject has been moved to the package org.gradle.internal.metaobject with Gradle 3.0. A similar issue was observed in another post.

The issue can be fixed by releasing a new version of the plugin using Gradle 3.0. Would you mind asking the plugin developer to release/publish a new version of the plugin?

(Dustin Johnson) #3

Thanks, I opened https://github.com/flyway/flyway/issues/1429 on their project and noted that it may just require doing a release using Gradle 3.