-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (49 loc) · 1.68 KB
/
build.gradle
File metadata and controls
56 lines (49 loc) · 1.68 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
// targetSdkVersion
ext.TARGET_SDK_VERSION = 28
// Library minSdkVersion
ext.COMMON_MIN_SDK_VERSION = 23
// compileSdkVersion
ext.COMPILE_SDK_VERSION =30
//versionCode
ext.CURRENT_RELEASE_VERSION_CODE = 1
//versionName
ext.CURRENT_RELEASE_VERSION_NAME = '1.0.0'
//kotlin
ext.kotlin_version = '1.4.32'
repositories {
//jcenter()
mavenLocal()
mavenCentral()
maven { url "https://maven.aliyun.com/repository/google"}
maven { url "https://maven.aliyun.com/repository/public"}
maven { url "https://maven.aliyun.com/repository/central"}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.0.0"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
allprojects {
repositories {
//jcenter()
mavenCentral()
mavenLocal()
maven { url "https://maven.aliyun.com/repository/google"}
maven { url "https://maven.aliyun.com/repository/public"}
maven { url "https://maven.aliyun.com/repository/central"}
maven { url "https://jitpack.io" }
}
tasks.withType(Javadoc){
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
enabled = false
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}