plugins { id 'java' id 'application' id 'com.github.johnrengelman.shadow' version '4.0.3' } repositories { jcenter() mavenCentral() } dependencies { compile group: 'com.sparkjava', name: 'spark-core', version: '2.9.1' compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.30' compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.19' compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.30.1' compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.2' testCompile group: 'junit', name: 'junit', version: '4.13' testCompile group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.0' testCompile group: 'com.mashape.unirest', name: 'unirest-java', version: '1.4.9' } group = 'com.krusty' version = '1.0' description = 'Krusty' sourceCompatibility = '11' targetCompatibility = '11' application { mainClassName = "krusty.ServerMain" } jar { manifest { attributes 'Implementation-Title': 'KrustyServer', 'Implementation-Version': version, 'Main-Class': 'krusty.Main' } }