test {
//  Pass on downloader type to tests for different CI jobs. See DownloaderFactory.java and ci.yml
    if (System.properties.containsKey('downloader')) {
        systemProperty('downloader', System.getProperty('downloader'))
    }
}

dependencies {
    implementation project(':timeago-parser')

    implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
    implementation 'org.jsoup:jsoup:1.13.1'
    implementation 'org.mozilla:rhino:1.7.12'
    implementation 'com.github.spotbugs:spotbugs-annotations:4.0.2'
    implementation 'org.nibor.autolink:autolink:0.10.0'

    testImplementation 'junit:junit:4.13.1'
    testImplementation "com.squareup.okhttp3:okhttp:3.12.11"
    testImplementation 'com.google.code.gson:gson:2.8.6'
}
