2021-01-15 17:08:20 +00:00
|
|
|
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'))
|
|
|
|
}
|
2021-12-27 20:08:08 +00:00
|
|
|
useJUnitPlatform()
|
2021-01-15 17:08:20 +00:00
|
|
|
}
|
|
|
|
|
2018-03-14 03:44:02 +00:00
|
|
|
dependencies {
|
|
|
|
implementation project(':timeago-parser')
|
|
|
|
|
2021-08-07 21:51:09 +00:00
|
|
|
implementation "com.github.TeamNewPipe:nanojson:$nanojsonVersion"
|
2021-10-02 08:20:38 +00:00
|
|
|
implementation 'org.jsoup:jsoup:1.14.3'
|
2021-06-17 21:49:07 +00:00
|
|
|
implementation 'org.mozilla:rhino:1.7.13'
|
2021-08-07 21:51:09 +00:00
|
|
|
implementation "com.github.spotbugs:spotbugs-annotations:$spotbugsVersion"
|
2020-05-02 06:26:48 +00:00
|
|
|
implementation 'org.nibor.autolink:autolink:0.10.0'
|
2018-03-14 03:44:02 +00:00
|
|
|
|
2021-12-27 20:08:08 +00:00
|
|
|
testImplementation platform("org.junit:junit-bom:$junitVersion")
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api'
|
|
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-params'
|
|
|
|
|
2021-02-14 22:44:19 +00:00
|
|
|
testImplementation "com.squareup.okhttp3:okhttp:3.12.13"
|
2021-11-01 09:12:53 +00:00
|
|
|
testImplementation 'com.google.code.gson:gson:2.8.9'
|
2020-04-16 14:08:14 +00:00
|
|
|
}
|