1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00
JSON-java/build.gradle
2016-01-03 21:39:30 -06:00

26 lines
715 B
Groovy

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