main branch updated
This commit is contained in:
parent
3d33d3fe49
commit
9a05dc1657
353 changed files with 16802 additions and 2995 deletions
37
build.gradle.kts
Normal file
37
build.gradle.kts
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* 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.jetbrains.kotlin.android) apply false
|
||||
alias(libs.plugins.kotlin.compose) apply false
|
||||
alias(libs.plugins.spotless) apply false
|
||||
alias(libs.plugins.kapt) 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}") }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue