54 lines
No EOL
1.5 KiB
Kotlin
54 lines
No EOL
1.5 KiB
Kotlin
/*
|
|
* 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") |