0 points

Add @InjectResource JUnit extensions with Gradle


dashboard

Thu Aug 27 2020 11:05:17 GMT+0000 (UTC)

Posted by @hosuaby

repositories {
    jcenter()
}

dependencies {
    testCompile group: 'com.adelean', name: 'inject-resources-core', version: '0.1.0'

    // For JUnit5
    testCompile group: 'com.adelean', name: 'inject-resources-junit-jupiter', version: '0.1.0'

    // or for JUnit4
    testCompile group: 'com.adelean', name: 'inject-resources-junit-vintage', version: '0.1.0'
}
content_copy Copy