mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
build: Add log message when libWebRtc is downloaded
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
ff32ab1172
commit
f9472ab273
@ -48,7 +48,7 @@ abstract class DownloadWebRtcTask extends DefaultTask {
|
||||
return "https://github.com/nextcloud-releases/talk-clients-webrtc/releases/download/${webRtcVersion}-RC1/${getFileName()}"
|
||||
}
|
||||
|
||||
public String getOutputPath() {
|
||||
String getOutputPath() {
|
||||
return "${project.buildDir}/download/${getFileName()}"
|
||||
}
|
||||
|
||||
@ -56,6 +56,7 @@ abstract class DownloadWebRtcTask extends DefaultTask {
|
||||
def run() {
|
||||
libFile.parentFile.mkdirs()
|
||||
if (!libFile.exists()) {
|
||||
logger.lifecycle("Downloading libWebRTC ${version.get()} from ${getDownloadUrl()}")
|
||||
new URL(getDownloadUrl()).withInputStream { downloadStream ->
|
||||
libFile.withOutputStream { fileOut ->
|
||||
fileOut << downloadStream
|
||||
|
Loading…
Reference in New Issue
Block a user