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()
|
|
|
|
}
|
|
|
|
|
2020-02-14 19:11:02 +00:00
|
|
|
jar {
|
|
|
|
manifest {
|
2022-11-11 23:50:12 +00:00
|
|
|
attributes "Main-Class": "tk.sintan1729.url.App"
|
2020-02-14 19:11:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
from {
|
|
|
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-13 22:52:33 +00:00
|
|
|
dependencies {
|
|
|
|
compile "com.sparkjava:spark-core:2.8.0"
|
2020-02-22 21:09:22 +00:00
|
|
|
compile 'com.qmetric:spark-authentication:1.4'
|
2020-03-24 08:07:25 +00:00
|
|
|
compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.30.1'
|
|
|
|
|
2020-02-13 22:52:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
2022-11-11 23:50:12 +00:00
|
|
|
mainClassName = 'tk.sintan1729.url.App'
|
2020-02-13 22:52:33 +00:00
|
|
|
}
|