DownloadWebRtcTask: don't expose internal outputPath property

Use the output file from app gradle instead

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey 2022-05-18 16:14:23 +02:00 коммит произвёл Andy Scherzinger
Родитель be951793ba
Коммит 9d016e7005
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 6CADC7E3523C308B
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -236,7 +236,7 @@ dependencies {
kapt "com.jakewharton:butterknife-compiler:${butterknifeVersion}"
implementation 'eu.davidea:flexible-adapter:5.1.0'
implementation 'eu.davidea:flexible-adapter-ui:1.0.0'
implementation fileTree(downloadWebRtc.getOutputPath())
implementation fileTree(downloadWebRtc.libFile.path)
implementation 'com.yarolegovich:lovely-dialog:1.1.1'
implementation 'com.yarolegovich:mp:1.1.6'
implementation 'me.zhanghai.android.effortlesspermissions:library:1.1.0'

Просмотреть файл

@ -48,7 +48,7 @@ abstract class DownloadWebRtcTask extends DefaultTask {
return "https://github.com/nextcloud-releases/talk-clients-webrtc/releases/download/${webRtcVersion}-RC1/${getFileName()}"
}
String getOutputPath() {
private String getOutputPath() {
return "${project.buildDir}/download/${getFileName()}"
}