plugins { id("com.github.johnrengelman.shadow") version "6.0.0" } // Shadow task depends on Jar task, so these will be reflected for Shadow as well tasks.jar { manifest.attributes["Main-Class"] = "org.example.MainKt" } // ./gradlew shadowJar
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter