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:
commit
d3b197b1b9
23 changed files with 26 additions and 0 deletions
26
build.gradle
Normal file
26
build.gradle
Normal 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'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue