mirror-chhoto-url/build.gradle

34 lines
824 B
Groovy
Raw Normal View History

2020-02-13 22:52:33 +00: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 17:57:37 +00:00
task fatJar(type: Jar) {
2020-02-14 19:11:02 +00:00
manifest {
2023-01-12 17:57:37 +00:00
attributes 'Main-Class': 'tk.SinTan1729.url.App'
2020-02-14 19:11:02 +00:00
}
2023-01-12 17:57:37 +00:00
archiveBaseName = 'url'
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
2020-02-14 19:11:02 +00:00
}
2020-02-13 22:52:33 +00:00
dependencies {
2023-01-12 17:57:37 +00: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 22:52:33 +00:00
}
application {
2022-11-13 00:01:15 +00:00
mainClassName = 'tk.SinTan1729.url.App'
2020-02-13 22:52:33 +00:00
}