1 Star 0 Fork 47

麋鹿 / iPlayer

forked from Yuye / iPlayer 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
build.gradle 1.49 KB
Copy Edit Raw Blame History
Yuye authored 2022-09-01 14:21 . 2.0.2
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
allprojects {
repositories {
google()
jcenter()
//本地Maven仓库地址,取决于你的磁盘目录
// maven { url 'file://D://AndroidStudioProjects//iPlayer//maven' }
maven { url 'https://jitpack.io' }
}
//编译时报注释GBK编码错误解决
tasks.withType(Javadoc) {
//方法上忽略@return和@param注解未添加说明注释
options.addStringOption('Xdoclint:none', '-quiet')
//解决GBK编码错误提示
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}
//跳过构建时link检查
tasks.whenTaskAdded { task ->
if (task.name.equals("lint")) {
task.enabled = false
}
}
}
//当androidx.core 版本冲突时,强制gradle使用指定版本
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency {
details -> if (details.requested.group == 'androidx.core' && !details.requested.name.contains('androidx'))
{ details.useVersion "1.6.0" }
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/wllmilu/iPlayer.git
git@gitee.com:wllmilu/iPlayer.git
wllmilu
iPlayer
iPlayer
main

Search

344bd9b3 5694891 D2dac590 5694891