From ace08f19449f1f62fe5aff201e5dc4140613be36 Mon Sep 17 00:00:00 2001 From: stleary Date: Sun, 3 Jan 2016 21:39:30 -0600 Subject: [PATCH] latest --- build.gradle | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 build.gradle diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..2544a69 --- /dev/null +++ b/build.gradle @@ -0,0 +1,26 @@ +apply plugin: 'java' +apply plugin: 'eclipse' + +jar.baseName = 'JSON-java' + +sourceSets { + test { + java { + srcDir 'src/test' + } + } +} + +repositories { + mavenCentral() +} + +dependencies { + testCompile group: 'junit', name: 'junit', version: '4.+' + testCompile group: 'com.jayway.jsonpath', name: 'json-path', version: '2.1.0' + testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5' + // Use this line if you are testing a JSON-Java release. + // Otherwise add an external jar from your local repository in Eclipse + // (The gradle build won't work unless you add a main sourceSets entry and a jar.baseName entry + // testCompile group: 'org.json', name: 'json', version: '20151123' +}