mirror-chhoto-url/build.gradle

31 lines
522 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()
}
2020-02-14 19:11:02 +00:00
jar {
manifest {
attributes "Main-Class": "tk.draganczuk.url.App"
}
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"
}
application {
mainClassName = 'tk.draganczuk.url.App'
}