We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 280ce71 commit ace08f1Copy full SHA for ace08f1
1 file changed
build.gradle
@@ -0,0 +1,26 @@
1
+apply plugin: 'java'
2
+apply plugin: 'eclipse'
3
+
4
+jar.baseName = 'JSON-java'
5
6
+sourceSets {
7
+ test {
8
+ java {
9
+ srcDir 'src/test'
10
+ }
11
12
+}
13
14
+repositories {
15
+ mavenCentral()
16
17
18
+dependencies {
19
+ testCompile group: 'junit', name: 'junit', version: '4.+'
20
+ testCompile group: 'com.jayway.jsonpath', name: 'json-path', version: '2.1.0'
21
+ testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5'
22
+ // Use this line if you are testing a JSON-Java release.
23
+ // Otherwise add an external jar from your local repository in Eclipse
24
+ // (The gradle build won't work unless you add a main sourceSets entry and a jar.baseName entry
25
+ // testCompile group: 'org.json', name: 'json', version: '20151123'
26
0 commit comments