-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (39 loc) · 1008 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
35
36
37
38
39
40
41
42
43
44
plugins {
id("my.android.application")
id("my.android.compose.application")
id("my.android.hilt")
id("my.android.jacoco.application")
}
android {
namespace = "com.rodrigoguerrero.myapp"
buildTypes {
release {
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro",
)
}
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}
dependencies {
implementation(project(":ui:core:theme"))
implementation(project(":ui:feature:home"))
}
afterEvaluate {
tasks
.filter { task ->
task.name.equals("clean", ignoreCase = true) || task.name.contains(
"assemble",
ignoreCase = true,
)
}.forEach { task ->
task.dependsOn(":analysis:installGitHooks")
}
}