Files
nextcloud-android/settings.gradle.kts
tobiasKaminsky 1097d1e8ac settings: adapt includeBuild to new syntax
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2025-12-18 09:06:51 +01:00

55 lines
1.5 KiB
Plaintext

/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2025 Jimly Asshiddiqy <jimly.asshiddiqy@accenture.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
rootProject.name = "Nextcloud"
pluginManagement {
resolutionStrategy.eachPlugin {
if (requested.id.id == "shot") useModule("com.karumi:shot:${requested.version}")
}
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
gradlePluginPortal()
mavenCentral()
}
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
maven("https://jitpack.io")
}
}
// includeBuild("../android-common") {
// dependencySubstitution {
// substitute(module("com.github.nextcloud.android-common:ui")).using(project(":ui"))
// }
// }
// includeBuild("../android-library") {
// dependencySubstitution {
// substitute(module("com.github.nextcloud:android-library")).using(project(":library")) // broken on gradle 8.14.2, so use 8.13 if needed
// }
// }
include(":app", ":appscan")