sdk-codegen icon indicating copy to clipboard operation
sdk-codegen copied to clipboard

feat: add Shadow plugin to build shaded Kotlin jars

Open tjbanghart opened this issue 2 years ago • 1 comments
trafficstars

Adds the Shadow plugin. This will let us build shaded jars that include all dependencies so developers can use the Kotlin SDK as a standalone jar in other JVM projects.

Fixes #1344

Developer Checklist ℹ️

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • [x] Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • [x] Ensure the tests and linter pass
  • [x] Appropriate docs were updated (if necessary)

tjbanghart avatar Jul 20 '23 20:07 tjbanghart

Yeah this works as expected!

Although, I think https://github.com/looker-open-source/sdk-codegen/pull/1343 should get merged first since it includes a similar gradle + kotlin version changes. I snuck a gradle version bump in here.

tjbanghart avatar Jul 25 '23 19:07 tjbanghart