2 Star 9 Fork 3

Android-TV/SmartYouTubeTV

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 2.20 KB
一键复制 编辑 原始数据 按行查看 历史
Yuriy Liskov 提交于 2020-03-10 00:47 . constants refactor
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
//classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
// WARNING: don't use 'project.ext' because IDE 'Cannot infer argument type'
// https://stackoverflow.com/questions/20404476/how-to-define-common-android-properties-for-all-modules-using-gradle
// Gradle constants example: https://github.com/google/ExoPlayer
ext {
compileSdkVersion = 28
buildToolsVersion = "28.0.3"
minSdkVersion = 14
targetSdkVersion = 26
}
}
allprojects {
repositories {
// browse: https://bintray.com/bintray/jcenter
jcenter()
google()
// com.android.support libs, constraint lib
maven {
url 'https://maven.google.com/'
name 'Google'
}
// crosswalk
maven {
url 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2'
}
// add lib from github (e.g. exoplayer-amazon-port)
// should be the last in the list
maven { url 'https://jitpack.io' }
// *.aar custom libs
//flatDir {
// dirs 'libs'
//}
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//apply plugin: 'com.github.johnrengelman.shadow'
//apply plugin: 'java'
//
//// Configuring Filtering for Relocation
//shadowJar {
// relocate('com.google.android.exoplayer2.util', 'com.liskovsoft.smartyoutubetv.flavors.exoplayer.player.helpers') {
// include 'com.google.android.exoplayer2.util.Log'
// }
//}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/Android-TV/SmartYouTubeTV.git
git@gitee.com:Android-TV/SmartYouTubeTV.git
Android-TV
SmartYouTubeTV
SmartYouTubeTV
experiments

搜索帮助

0d507c66 1850385 C8b1a773 1850385