plugins { id 'java' id 'application' id 'com.github.johnrengelman.shadow' version '8.1.1' } repositories { jcenter() mavenCentral() } dependencies { implementation group: 'com.sparkjava', name: 'spark-core', version: '2.9.1' implementation group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.30' implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.19' implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.30.1' implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.2' testImplementation group: 'junit', name: 'junit', version: '4.13' testImplementation group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.0' testImplementation 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' } }