ysb33r / ivypot-gradle-plugin

Ivypot is a Gradle plugin to help managing a local off-line repository for builds in restricted environments
Apache License 2.0
45 stars 14 forks source link

Unable to create task extending org.ysb33r.gradle.ivypot.OfflineRepositorySync #20

Closed vojbarzz closed 7 years ago

vojbarzz commented 7 years ago

Hello,

I'm getting error Unable to load class org.ysb33r.gradle.ivypot.OfflineRepositorySync due to missing dependency org/gradle/api/internal/DynamicObject when trying to extend OfflineRepositorySync class using gradle 3.x. I have found that the solution would be to release a new version using gradle 3.x. Here is the source discussion https://discuss.gradle.org/t/missing-dependency-org-gradle-api-internal-dynamicobject-prevents-extending-plugin-task/19472/2

Thx for resolution.

ysb33r commented 7 years ago

This is not a trivial fix and I expect I can only get around to doing this after 21 July 2017.

The work is on branch issue-20 development if you would like to tinker with it.

ysb33r commented 7 years ago

This should now work with any Gradle 3.x or 4.x.