Pass on gradle JVM system property to test JVM

pull/514/head
XiangRongLin 2021-01-15 18:08:20 +01:00
rodzic 7c774c84ce
commit a6cfe11ae9
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

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