sdk-codegen
sdk-codegen copied to clipboard
feat: add Shadow plugin to build shaded Kotlin jars
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)
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.