-
Notifications
You must be signed in to change notification settings - Fork 156
/
build.gradle
73 lines (70 loc) · 2.35 KB
/
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
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// https://developer.android.com/studio/releases/gradle-plugin
buildscript {
ext {
kotlin_version = '1.9.0'
applicationId = "com.ando.file.sample"
compileSdkVersion = 33
buildToolsVersion = '33.0.2'
minSdkVersion = 21
targetSdkVersion = 33
//2023年12月21日
versionCode = 22
versionName = "3.9.8"
//2023年8月29日 09:47:46
// versionCode = 19
// versionName = "3.9.0"
//2023年8月22日 11:26:08
// versionCode = 18
// versionName = "3.8.0"
//2023年4月17日 10:32:25
// versionCode = 17
// versionName = "3.7.0"
// versionCode = 16
// versionName = "3.6.0"
}
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://repo.spring.io/release" }
maven { url "https://repository.jboss.org/maven2" }
// mavenLocal()
jcenter() // Warning: this repository is going to shut down soon
}
dependencies {
// gradle-wrapper.properties
// https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://s01.oss.sonatype.org/content/groups/public" }
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://repo.spring.io/release" }
maven { url "https://repository.jboss.org/maven2" }
// mavenLocal()
jcenter() // Warning: this repository is going to shut down soon
}
tasks.withType(Javadoc) {
options {
encoding "UTF-8"
charSet 'UTF-8'
links "http://docs.oracle.com/javase/7/docs/api"
}
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}