diff --git a/app/build.gradle b/app/build.gradle index 154fff78b..3ecd67bde 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -351,4 +351,4 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { jvmTarget = "1.8" } -} \ No newline at end of file +} diff --git a/buildSrc/src/main/groovy/com/nextcloud/talk/gradle/DownloadWebRtcTask.groovy b/buildSrc/src/main/groovy/com/nextcloud/talk/gradle/DownloadWebRtcTask.groovy index c0a677bec..3d97731b7 100644 --- a/buildSrc/src/main/groovy/com/nextcloud/talk/gradle/DownloadWebRtcTask.groovy +++ b/buildSrc/src/main/groovy/com/nextcloud/talk/gradle/DownloadWebRtcTask.groovy @@ -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