forked from Jzvd/JZVideo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
29 lines (26 loc) · 997 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.6.10"
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://maven.aliyun.com/repository/public" } //jcenter & central
//这里不再提供镜像链接,作为程序员默认应该可以熟练上网并且编译项目。镜像是有用的,有需要的请自行使用镜像,使用镜像的代码不应该出现在源码里。
//https://github.com/Jzvd/JZVideo/issues/371
}
}
//task clean(type: Delete) {
// delete rootProject.buildDir
//}