crab/build.gradle

31 lines
581 B
Groovy
Raw Permalink Normal View History

import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2024-12-22 19:39:47 +00:00
plugins {
id 'java'
id 'com.gradleup.shadow' version '9.0.0-beta4'
2024-12-22 19:39:47 +00:00
}
group = 'net.pixtaded'
version = projectVersion
2024-12-22 19:39:47 +00:00
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
2024-12-22 19:39:47 +00:00
}