1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-10-16 21:33:54 -05:00
chhoto-url/build.gradle

34 lines
824 B
Groovy
Raw Normal View History

2020-02-13 16:52:33 -06:00
plugins {
// Apply the java plugin to add support for Java
id 'java'
// Apply the application plugin to add support for building a CLI application.
id 'application'
}
repositories {
jcenter()
}
2023-01-12 11:57:37 -06:00
task fatJar(type: Jar) {
2020-02-14 13:11:02 -06:00
manifest {
2023-01-12 11:57:37 -06:00
attributes 'Main-Class': 'tk.SinTan1729.url.App'
2020-02-14 13:11:02 -06:00
}
2023-01-12 11:57:37 -06:00
archiveBaseName = 'url'
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
2020-02-14 13:11:02 -06:00
}
2020-02-13 16:52:33 -06:00
dependencies {
2023-01-12 11:57:37 -06:00
implementation 'com.sparkjava:spark-core:2.9.4'
implementation 'com.qmetric:spark-authentication:1.4'
implementation 'org.slf4j:slf4j-simple:1.6.1'
implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.30.1'
2020-02-13 16:52:33 -06:00
}
application {
2022-11-12 18:01:15 -06:00
mainClassName = 'tk.SinTan1729.url.App'
2020-02-13 16:52:33 -06:00
}