1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-10-16 13:27:03 -05:00
chhoto-url/build.gradle
Przemek Dragańczuk 20881d85d4 Small fixes
2020-02-14 20:11:02 +01:00

30 lines
522 B
Groovy

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()
}
jar {
manifest {
attributes "Main-Class": "tk.draganczuk.url.App"
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
dependencies {
compile "com.sparkjava:spark-core:2.8.0"
}
application {
mainClassName = 'tk.draganczuk.url.App'
}