Pass on gradle JVM system property to test JVM

This commit is contained in:
XiangRongLin 2021-01-15 18:08:20 +01:00
parent 7c774c84ce
commit a6cfe11ae9

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')