-
Notifications
You must be signed in to change notification settings - Fork 221
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (30 loc) · 1.09 KB
/
build.gradle
File metadata and controls
38 lines (30 loc) · 1.09 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
allprojects {
repositories {
mavenCentral()
google()
//多放几个国内的依赖托管镜像源,工程师可以根据公司的网络屏蔽情况自行替换
maven { url "https://s01.oss.sonatype.org/content/groups/public" }
maven { url "https://maven.aliyun.com/nexus/content/groups/public/"}
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url "https://jitpack.io" }
maven { url 'https://repo1.maven.org/maven2/' }
}
}
buildscript {
//FaceAILib 的java version 和 Kotlin 配置
ext {
kotlin_version = "1.9.22"
java_version = JavaVersion.VERSION_17
}
repositories {
google()
mavenCentral()
}
dependencies {
//Android Studio 2025.1.4 以及APG 8.13 以上版本可以调试View Bitmap。不需要可以根据自身情况降级
//
classpath 'com.android.tools.build:gradle:8.13.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22"
}
}