From 23dec785ebee867739367e9493f4754d1653669e Mon Sep 17 00:00:00 2001 From: chenguijian Date: Thu, 29 Jun 2023 14:43:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 5 +++-- build.gradle | 5 +++-- jdm3u8downloader/build.gradle | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d0ec230..722657e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -28,8 +28,9 @@ dependencies { androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' // implementation project(':jdm3u8downloader') +// implementation 'com.github.WeDox:M3U8Downloader:2.0.4' // - api 'com.zhy:okhttputils:2.6.2' - api 'com.squareup.okhttp3:okhttp:3.2.0' + implementation 'com.zhy:okhttputils:2.6.2' + implementation 'com.squareup.okhttp3:okhttp:3.2.0' } diff --git a/build.gradle b/build.gradle index 3408510..6791ce0 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.5.2' - classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' // 添加本行,这个版本与gradle版本有关 + classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' // 发布库时配置:添加本行,这个版本与gradle版本有关 // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -19,7 +19,8 @@ allprojects { repositories { google() jcenter() - + // + maven { url 'https://jitpack.io' } } } diff --git a/jdm3u8downloader/build.gradle b/jdm3u8downloader/build.gradle index 3944048..206abe2 100644 --- a/jdm3u8downloader/build.gradle +++ b/jdm3u8downloader/build.gradle @@ -1,6 +1,6 @@ apply plugin: 'com.android.library' -apply plugin: 'com.github.dcendents.android-maven' // 添加本行 -//group='com.github.WeDox' // 添加本行 +apply plugin: 'com.github.dcendents.android-maven' // 发布库时配置:添加本行 +//group='com.github.WeDox' // 发布库时配置:添加本行 android { compileSdkVersion 29