-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·59 lines (51 loc) · 2.58 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compose_version = '1.1.1'
kotlin_version = '1.6.21'
}
repositories {
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/public' } // central 和 jcenter 的聚合仓
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
// maven { url 'https://maven.aliyun.com/repository/spring' }
// maven { url 'https://maven.aliyun.com/repository/grails-core' }
// maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
// maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
// maven { url 'https://maven.aliyun.com/repository/spring-plugin' }
// maven { url 'https://maven.aliyun.com/repository/releases' }
// maven { url 'https://maven.aliyun.com/repository/snapshots' }
// maven { url 'https://maven.aliyun.com/repository/mapr-public' }
// maven { url 'https://maven.aliyun.com/repository/staging-alpha' }
// maven { url 'https://maven.aliyun.com/repository/staging-alpha-group' }
maven { url 'https://mirrors.tencent.com/nexus/repository/maven-public' }
mavenCentral()
mavenLocal()
google()
// lottie 动画库
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://jitpack.io' }
maven { url "https://dl.bintray.com/kotlin/kotlin-eap" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle-api:7.1.3'
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.42'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// classpath("com.google.devtools.ksp:symbol-processing-api:1.6.10-1.0.2")
classpath 'com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.6.21-1.0.6'
// classpath(kotlin("gradle-plugin", version = "1.5.31"))
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
// not need to config all projects repositories,
// already config something like it in file settings.gradle
task clean(type: Delete) {
delete rootProject.buildDir
}
ext{
androidx = "2.4.1"
}