Skip to content

Commit d3b197b

Browse files
committed
Merge pull request #37 from stleary/move-files-to-maven-friendly-dirs
Move files to maven friendly dirs. Hope it works...
2 parents 280ce71 + 706d898 commit d3b197b

23 files 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+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)