-
Notifications
You must be signed in to change notification settings - Fork 37
Description
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
repositories {
flatDir {
dirs 'libs'
}
google()
jcenter()
mavenCentral()
maven {
url "https://jitpack.io"
}
//GroMore SDK依赖
maven {
url "https://artifact.bytedance.com/repository/pangle"
}
//友盟统计服务
maven { url 'https://repo1.maven.org/maven2/' }
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0' // add plugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
flatDir {
dirs 'libs'
}
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
//GroMore SDK依赖
maven {
url "https://artifact.bytedance.com/repository/pangle"
}
//友盟统计服务
maven { url 'https://repo1.maven.org/maven2/' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//播放器(无UI交互)
implementation 'com.github.hty527.iPlayer:iplayer:2.1.26.1'
//SDK默认UI交互组件
implementation 'com.github.hty527.iPlayer:widget:2.1.26.1'
//音视频预缓存+边播边存
implementation 'com.github.hty527.iPlayer:cache:2.1.26.1'
//ijk音视频解码器
implementation 'com.github.hty527.iPlayer:ijk:2.1.26.1'
//exo音视频解码器
implementation 'com.github.hty527.iPlayer:exo:2.1.26.1'
已经导包。但是无法调用这个方法
IjkPlayerFactory.create().createPlayer(VideoPlayerActivity.this)