-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (54 loc) · 1.38 KB
/
build.gradle
File metadata and controls
63 lines (54 loc) · 1.38 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
55
56
57
58
59
60
61
62
buildscript {
repositories {
maven { url 'https://jitpack.io' }
mavenCentral()
google()
maven {
url 'https://repo.huaweicloud.com/repository/maven/'
}
maven { url "https://maven.aliyun.com/repository/public" }
mavenLocal()
mavenLocal {
url "$rootDir/.m2"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.1'
classpath 'com.tencent.bugly:symtabfileuploader:2.2.1'
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.21.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0"
}
}
/*plugins {
id 'com.google.devtools.ksp' version '1.9.0-1.0.12' apply false
}*/
allprojects {
repositories {
mavenCentral()
google()
maven {
url 'https://repo.huaweicloud.com/repository/maven/'
}
maven { url 'https://jitpack.io' }
maven { url "https://maven.aliyun.com/repository/public" }
mavenLocal()
mavenLocal {
url "$rootDir/.m2"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
tasks.withType(Wrapper) {
enabled = false
}
task copyHooks(type: Copy) {
from("hooks") {
include "**"
}
into ".git/hooks"
}
task setPreCommitExecutable(type: Exec) {
commandLine 'chmod', '+x', '.git/hooks/pre-commit'
}