Skip to content

sentinelweborg/JsonAnnotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JsonAnnotation

An annotation to load JSON objects for tests - the JOSN file are in stored in resource directories.

Usage

See example module

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

    testCompile 'uk.co.sentinelweb:json-annotation:1.0.2'
}


repositories {
    jcenter()
    // todo still need this - hw to publish to main jcenter repo
    maven {
        url 'https://dl.bintray.com/sentinelweb/generic/'
    }
}

You may also have to add

sourceSets { test { output.resourcesDir = output.classesDir } }

to get the recources to output to your class directory

Download

About

An annotation to load JSON objects for tests

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages