Run setupProject at the start and everything should be set up. This is for a gradle with a kotlin build script, and a kotlin project in IntelliJ To then build ur plugin do build shadowJar.