-
Notifications
You must be signed in to change notification settings - Fork 36
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
Cordapp Plugin - Usage of deprecated compile configuration #404
Comments
Thank you for your report. These plugins all use Gradle's deprecated |
Are you considering updating the behavior and making a new major release? Because in my case it makes difficult to use the plugin in a new project. I use the |
The Cordapp plugin seems to only include dependencies declared with the
compile
configuration in the fat jar. Since thecompile
configuration is deprecated and should be replaced with eitherimplementation
orapi
, the plugin should imho also support including these dependencies. More information on that topic can be found here.I think the problem is in CordappPlugin.kt#L182. Here the deprecated constant
RUNTIME_CONFIGURATION_NAME
is used. According to the documentation this constant should be replaced withRUNTIME_ELEMENTS_CONFIGURATION_NAME
.I tested the behavior with the following two tasks:
From my point of view
RUNTIME_ELEMENTS_CONFIGURATION_NAME
provides the correct behavior. If you are interested in making the change I could provide a pull request.The text was updated successfully, but these errors were encountered: