-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
37 lines (34 loc) · 960 Bytes
/
build.gradle.kts
File metadata and controls
37 lines (34 loc) · 960 Bytes
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
buildscript {
val agp_version by extra("7.3.0")
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
dependencies {
classpath(Deps.kotlinGradlePlugin)
classpath(Deps.androidBuildTools)
classpath(Deps.sqlDelightGradlePlugin)
classpath(Deps.hiltGradlePlugin)
classpath("com.android.tools.build:gradle:$agp_version")
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
/*plugins {
//trick: for the same plugin versions in all sub-modules
id("com.android.application").version("7.4.1").apply(false)
id("com.android.library").version("7.4.1").apply(false)
kotlin("android").version("1.8.10").apply(false)
kotlin("multiplatform").version("1.8.10").apply(false)
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}*/