Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
latest
  • Loading branch information
stleary committed Jan 4, 2016
commit ace08f19449f1f62fe5aff201e5dc4140613be36
26 changes: 26 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}