-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
41 lines (38 loc) · 1.18 KB
/
build.gradle.kts
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
plugins {
alias(this.libs.plugins.android.application) apply false
alias(this.libs.plugins.android.library) apply false
alias(this.libs.plugins.android.test) apply false
alias(this.libs.plugins.kotlin.jvm) apply false
alias(this.libs.plugins.kotlin.android) apply false
alias(this.libs.plugins.ksp) apply false
alias(this.libs.plugins.secrets) apply false
}
allprojects {
repositories {
/*
* google should be first in the repository list because some of the play services
* transitive dependencies was removed from jcenter, thus breaking gradle dependency resolution
*/
google()
mavenCentral()
maven {
name = "sonatype"
url = uri("https://oss.sonatype.org/content/repositories/releases/")
}
maven {
name = "jitpack"
url = uri("https://jitpack.io")
}
}
}
tasks.register("clean", Delete::class){
delete(rootProject.buildDir)
}