apply plugin: 'shadow' apply plugin: 'application' displayName = "JsonPath Test Bench" description = "Web app that compares different JsonPath implementations." mainClassName = 'com.jayway.jsonpath.web.boot.Main' task createBuildInfoFile << { def buildInfoFile = new File("$buildDir/classes/main/build-info.properties") Properties props = new Properties() props.setProperty('version', project.version.toString()) props.setProperty('timestamp', project.buildTimestamp) props.store(buildInfoFile.newWriter(), null) } jar { dependsOn createBuildInfoFile baseName 'json-path-web-test' manifest { attributes 'Implementation-Title': 'json-path-web-test', 'Implementation-Version': version, 'Main-Class': mainClassName } } dependencies { compile project(':json-path') compile 'commons-io:commons-io:2.4' compile libs.jacksonDatabind compile 'io.fastjson:boon:0.25' compile 'com.nebhale.jsonpath:jsonpath:1.2' compile 'io.gatling:jsonpath_2.10:0.4.0' compile 'org.eclipse.jetty:jetty-server:9.2.2.v20140723' compile 'org.eclipse.jetty:jetty-webapp:9.2.2.v20140723' compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.9.1' compile('org.glassfish.jersey.media:jersey-media-json-jackson:2.9.1'){ exclude module: 'jackson-annotations:com.fasterxml.jackson.core' exclude module: 'jackson-core:com.fasterxml.jackson.core' } }