Files
nextcloud-android-library/build.gradle
renovate[bot] b164da2abc fix(deps): update kotlin monorepo to v2.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-23 16:03:31 +00:00

59 lines
1.4 KiB
Groovy

/*
* Nextcloud Android Common Library
*
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2023 Unpublished <unpublished@gmx.net>
* SPDX-FileCopyrightText: 2022 Tobias Kaminsky <tobias@kaminsky.me>
* SPDX-FileCopyrightText: 2022 Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* SPDX-FileCopyrightText: 2014-2016 ownCloud Inc.
* SPDX-FileCopyrightText: 2014 Marcello Steiner <steiner.marcello@gmail.com>
* SPDX-License-Identifier: MIT
*/
buildscript {
ext {
kotlin_version = '2.2.0'
jacoco_version = '0.8.13'
}
}
subprojects {
buildscript {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
repositories {
google()
mavenCentral()
maven {
url "https://jitpack.io"
content {
includeGroup "com.github.bitfireAT"
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
task installGitHooks(type: Copy, group: "development") {
def sourceFolder = "${rootProject.projectDir}/scripts/hooks"
def destFolder = "${rootProject.projectDir}/.git/hooks"
description = "Install git hooks"
from(sourceFolder) {
include '*'
}
into destFolder
eachFile { file ->
println "${sourceFolder}/${file.relativeSourcePath} -> ${destFolder}/${file.path}"
}
}