Merge pull request #514 from XiangRongLin/test_jvm_property

Pass on gradle JVM system property to test JVM
This commit is contained in:
Stypox 2021-01-15 20:44:23 +01:00 committed by GitHub
commit b9ba95614b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
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')