Could not generate a proxy class for class
Closed this issue · 3 comments
Hi,
I am getting the following error when applying gradle-jdeploy-plugin
to my gradle project.
My project is using the same version of gradle as the plugin (4.3.1). Any idea how to fix this would be appreciated - thanks !
> Failed to apply plugin [id 'lt.neworld.jdeploy']
> Could not generate a proxy class for class lt.neworld.gradle.jdeploy.task.JDeployPackageGenerate.
Hello,
I have some ideas, but I need more info. Are you using kotlin in your project? The stacktrace would be very helpful for me. Could you show it to me?
I Should have used --stacktrace
before starting this thread, there was as missing dependency which I added and the build now works:
Caused by: java.lang.ClassNotFoundException: com.squareup.moshi.Moshi
... 132 more
btw I don't use kotlin on this project.
It might still be useful to add this dependency to your plugin to avoid this error in the future ..
Thanks for your help !
Definitely, it will be, but I had added it already. Also, Gradle should throw an exception about missing dependency in the first place. Could you show your build script?