20 lines
769 B
Groovy
20 lines
769 B
Groovy
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:$nanojsonVersion"
|
|
implementation 'org.jsoup:jsoup:1.13.1'
|
|
implementation 'org.mozilla:rhino:1.7.13'
|
|
implementation "com.github.spotbugs:spotbugs-annotations:$spotbugsVersion"
|
|
implementation 'org.nibor.autolink:autolink:0.10.0'
|
|
|
|
testImplementation "junit:junit:$junitVersion"
|
|
testImplementation "com.squareup.okhttp3:okhttp:3.12.13"
|
|
testImplementation 'com.google.code.gson:gson:2.8.7'
|
|
}
|