1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

Merge pull request #37 from stleary/move-files-to-maven-friendly-dirs

Move files to maven friendly dirs. Hope it works...
This commit is contained in:
Sean Leary 2016-01-05 20:46:43 -06:00
commit d3b197b1b9
23 changed files with 26 additions and 0 deletions

26
build.gradle Normal file
View file

@ -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'
}