I am working on a tool integration plugin that calls some REST APIs to internal services. This requires some dependencies like org.json et.al. which I've declared in build.gradle:
id 'org.jetbrains.intellij' version '1.3.1'
version = '2021.3.2'
version = project.version
sinceBuild = '211'
untilBuild = '213.*'
changeNotes = """..."""
enabled = false
This works great when running the runIde gralde task, but when I'm trying to test the plugin by installing it from disk, I only have the jar file with my classes in build\libs\ and when the plugin loads it's failing because of the missing dependencies.
I would like to be able to generate a zip file that includes the dependencies, but I've only found documentation on how to do that using DevKit, could someone help me understand how that works using gradle?