~singpolyma/cheogram-android

4725daf5a6335ddde13a1ef13cad5cb6844647c7 — Stephen Paul Weber 9 months ago fbf111a
Switch to snikket webrtc build

Approved by F-Droid for use and is up to date
1 files changed, 1 insertions(+), 15 deletions(-)

M build.gradle
M build.gradle => build.gradle +1 -15
@@ 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
}