import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar plugins { id 'java' id 'com.gradleup.shadow' version '9.0.0-beta4' } group = 'net.pixtaded' version = projectVersion repositories { mavenCentral() } dependencies { implementation('org.xerial:sqlite-jdbc:3.47.1.0') } tasks.build.dependsOn tasks.shadowJar tasks.named('jar', Jar) { manifest { attributes 'Main-Class': 'net.pixtaded.crab.Main' } } tasks.named('shadowJar', ShadowJar) { archiveBaseName = 'crab' archiveClassifier = '' archiveVersion = projectVersion }