-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (30 loc) · 1.11 KB
/
build.gradle
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
plugins {
// Need to declare all plugins here
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.ksp) apply false
alias(libs.plugins.easylauncher) apply false
alias(libs.plugins.compose) apply false
alias(libs.plugins.gradle.deps.update)
}
// Dependency version definitions
apply from: "project-config/dependencies.gradle"
// Dependency version checker
// Usage: ./gradlew dependencyUpdates -Drevision=release
apply from: "project-config/dependencies-checker/dependencies-checker.gradle"
// Test coverage
// Usage ./gradlew jacocoTestReport
apply from: "$rootDir/quality/test-coverage-setup.gradle"
task installGitHooks(type: Exec) {
group 'Quality'
description 'Installs the git hooks'
println("Installing git hooks")
workingDir rootDir
commandLine "quality/git-hooks/install-hooks.sh"
}
tasks.getByPath(':app:preBuild').dependsOn installGitHooks
task clean(type: Delete) {
delete rootProject.buildDir
}