Skip to content

Commit

Permalink
完善代码
Browse files Browse the repository at this point in the history
  • Loading branch information
chenguijian committed Jun 29, 2023
1 parent 61d9f19 commit 23dec78
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

}
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -19,7 +19,8 @@ allprojects {
repositories {
google()
jcenter()

//
maven { url 'https://jitpack.io' }
}
}

Expand Down
4 changes: 2 additions & 2 deletions jdm3u8downloader/build.gradle
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 23dec78

Please sign in to comment.