From 4725daf5a6335ddde13a1ef13cad5cb6844647c7 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sat, 10 Dec 2022 19:37:32 -0500 Subject: [PATCH] Switch to snikket webrtc build Approved by F-Droid for use and is up to date --- build.gradle | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/build.gradle b/build.gradle index e93e7c40b..a96c9b98d 100644 --- a/build.gradle +++ b/build.gradle @@ -23,20 +23,6 @@ repositories { maven { url 'https://jitpack.io' } } -// https://stackoverflow.com/a/38105112/8611 -def urlFile = { url, name -> - File file = new File("$buildDir/download/${name}") - file.parentFile.mkdirs() - if (!file.exists()) { - new URL(url).withInputStream { downloadStream -> - file.withOutputStream { fileOut -> - fileOut << downloadStream - } - } - } - files(file.absolutePath) -} - def tags = grgit.tag.list().findAll { it.dateTime != null }.sort { it.dateTime } configurations { @@ -111,7 +97,7 @@ dependencies { implementation 'com.github.ipld:java-cid:v1.3.1' implementation 'com.splitwise:tokenautocomplete:3.0.2' implementation 'me.saket:better-link-movement-method:2.2.0' - implementation urlFile('https://gateway.pinata.cloud/ipfs/QmeqMiLxHi8AAjXobxr3QTfa1bSSLyAu86YviAqQnjxCjM/libwebrtc.aar', 'libwebrtc.aar') + implementation 'org.snikket:webrtc-android:107.0.0' // INSERT } -- 2.38.4