File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments