-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoClassDefFoundError with Gradle 5.0 #9
Comments
I'm seeing this as well. |
Same here, this is urgent! It prevents me from upgrading everything to gradle 5.0! |
I observe something strange (at least to me). I tried to use the plugin in 2 ways: **option 1) **
this fails with the following error:
option 2 (the one I would eventually like to use, i.e use plugin only if certain requirements are met):
in that case the task is running without error, it goes though the statement but does not do anything Could you please tell me what I am doing wrong? |
@akasolace Try adding this to the top of your build file buildscript {
repositories {
jcenter()
}
} |
I already have a if I enclose it into a buildscript block then it breaks |
Seeing a NoClassDefFoundError when trying to run under Grade 5.0. Looks like AbstractProvider was removed or renamed somewhere between 4.10.2 and 5.0.
These also appear to be unstable/internal APIs even in 5.0, so it might be worth exploring an alternative approach.
https://gist.github.com/jmccance/b9cf65834de2c4fbd82effc5c7728d86
The text was updated successfully, but these errors were encountered: