-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
73 lines (67 loc) · 2.38 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.
buildscript {
ext {
kotlin_version = '1.8.20'
applicationId = 'ando.dialog.sample'
compileSdkVersion = 33
buildToolsVersion = '33.0.2'
minSdkVersion = 21
targetSdkVersion = 33
versionCode = 13
versionName = "7.6.0"
//Publish Library Version
versionCore = "7.6.0"
versionUsage = "7.6.0"
versionBottomSheet = "7.6.0"
versionOptionList = "7.6.0"
}
repositories {
mavenLocal()
mavenCentral()
google()
maven { url "https://jitpack.io" }
maven { url "https://s01.oss.sonatype.org/content/groups/public" }
maven { url "https://s01.oss.sonatype.org/content/repositories/releases" }
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://repo.spring.io/release" }
maven { url "https://repository.jboss.org/maven2" }
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 {
mavenLocal()
mavenCentral()
google()
maven { url "https://jitpack.io" }
maven { url "https://s01.oss.sonatype.org/content/groups/public" }
maven { url "https://s01.oss.sonatype.org/content/repositories/releases" }
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://repo.spring.io/release" }
maven { url "https://repository.jboss.org/maven2" }
jcenter() // Warning: this repository is going to shut down soon
}
tasks.withType(Javadoc).configureEach {
options {
encoding "UTF-8"
charSet 'UTF-8'
links "http://docs.oracle.com/javase/7/docs/api"
}
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile).tap {
configureEach {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}