Skip to content

Commit ace08f1

Browse files
committed
latest
1 parent 280ce71 commit ace08f1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

build.gradle

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)