puppy

joined 1 year ago
[–] puppy@programming.dev 2 points 9 months ago* (last edited 9 months ago)

The extension seems to be finally applied. Thank you so much!

[–] puppy@programming.dev 2 points 9 months ago* (last edited 9 months ago) (2 children)

Hi. Thank you for responding. I basically want to add the jib extension mentioned here (code snippet provided). https://github.com/GoogleContainerTools/jib-extensions/tree/master/first-party/jib-ownership-extension-gradle

Instead of applying it directly to the project, I want to add all this config to a convention plugin and add that to the project. Hoping to reuse the config across many projects.

 

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.

  1. 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.
  2. 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?

[–] puppy@programming.dev 1 points 1 year ago

I'd like to have one if you still have some to spare.

[–] puppy@programming.dev 3 points 1 year ago (2 children)

Hope you'll continue to lick the Google even after Chrome implements DRM.