From 4c608cb267443f06b963e715e30dc2d25c0ef9a3 Mon Sep 17 00:00:00 2001 From: FongMi Date: Mon, 27 May 2024 14:54:33 +0800 Subject: [PATCH] prepare to use bytedance danmaku --- app/build.gradle | 1 + settings.gradle | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index af645c642..4e01066ab 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -114,6 +114,7 @@ dependencies { implementation 'com.github.bumptech.glide:glide:4.16.0' implementation 'com.github.bumptech.glide:annotations:4.16.0' implementation 'com.github.bumptech.glide:okhttp3-integration:4.16.0' + implementation 'com.github.bytedance:danmaku-render-engine:0.1.0' implementation 'com.github.jahirfiquitiva:TextDrawable:1.0.3' implementation 'com.github.thegrizzlylabs:sardine-android:0.9' implementation 'com.google.android.material:material:1.12.0' diff --git a/settings.gradle b/settings.gradle index ebf562305..cdb02a560 100644 --- a/settings.gradle +++ b/settings.gradle @@ -15,9 +15,8 @@ dependencyResolutionManagement { flatDir { dirs "$rootDir/app/libs" } - maven { - url "https://jitpack.io" - } + maven { url "https://jitpack.io" } + maven { url 'https://artifact.bytedance.com/repository/releases/' } maven { url "http://4thline.org/m2" allowInsecureProtocol = true