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() } dependencies { compile "com.sparkjava:spark-core:2.8.0" compile 'org.slf4j:slf4j-simple:1.7.21' } application { mainClassName = 'tk.draganczuk.url.App' }