-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
34 lines (31 loc) · 933 Bytes
/
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
extra.apply {
set("kotlinVersion", "1.5.0")
}
val supportLibraryVersion = extra.get("kotlinVersion") as String
repositories {
google()
mavenCentral()
}
dependencies {
classpath(BuildPlugins.android)
classpath(BuildPlugins.kotlin)
classpath(Hilt.plugin)
classpath(Navigation.navigationSafeArg)
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20")
// classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0")
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
mavenCentral()
maven(url = "https://jitpack.io")
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}