-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
35 lines (31 loc) · 1.2 KB
/
build.gradle.kts
File metadata and controls
35 lines (31 loc) · 1.2 KB
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
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2025 Jimly Asshiddiqy <jimly.asshiddiqy@accenture.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.compose) apply false
alias(libs.plugins.spotless) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.spotbugs) apply false
alias(libs.plugins.detekt) apply false
// needed to make renovate run without shot, as shot requires Android SDK
// https://github.com/pedrovgs/Shot/issues/300
alias(libs.plugins.shot) apply false
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
tasks.register<Copy>("installGitHooks") {
description = "Install git hooks"
val sourceFolder = "${rootProject.projectDir}/scripts/hooks"
val destFolder = "${rootProject.projectDir}/.git/hooks"
from(sourceFolder) { include("*") }
into(destFolder)
eachFile { println("${sourceFolder}/${file.path} -> ${destFolder}/${file.path}") }
}