Hello developers!
I need some programming advice and I hope that I am not off-topic. I couldn’t find a more relevant group in Lemmy.
I have a Gradle convention plugin (written in Kotlin) that needs a buildscript classpath. But I can’t get it to resolve correctly in the project.
- If I add the buildscript classpath to the convention plugin and then apply the plugin to the project, it throws an error saying that buildscript is not allowed and the plugins section should be used instead.
- If I add the buildscript classpath to the project itself (although this doesn’t feel right because the convention plugin should be already compiled), then it throws an error saying that the dependencies are not met (classpath not applied).
Any advice?
The extension seems to be finally applied. Thank you so much!