diff --git a/build.gradle b/build.gradle index e93e7c40be611e7f48fb0671780bf7cfb52d31ed..a96c9b98dc8f24a21a7f85f31f17d4508cb1b90c 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 }