2019-10-02 18:11:22 +05:30
|
|
|
/*
|
2024-08-14 00:31:25 +05:30
|
|
|
* Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
|
2019-10-02 20:10:07 +05:30
|
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
2019-10-02 18:11:22 +05:30
|
|
|
*/
|
2022-03-13 17:41:01 +05:30
|
|
|
@file:Suppress("UnstableApiUsage")
|
2021-03-09 14:53:11 +05:30
|
|
|
|
2021-12-11 00:12:54 +05:30
|
|
|
rootProject.name = "APS"
|
|
|
|
|
2021-04-16 21:08:51 +05:30
|
|
|
// Plugin repositories
|
2020-09-20 16:54:38 +05:30
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
2021-11-29 01:41:04 +05:30
|
|
|
includeBuild("build-logic")
|
2023-12-17 14:42:40 +05:30
|
|
|
google {
|
|
|
|
content {
|
2022-05-09 13:16:27 +05:30
|
|
|
includeGroup("androidx.databinding")
|
2023-12-17 14:42:40 +05:30
|
|
|
includeGroupByRegex("com.android.*")
|
2022-05-09 13:16:27 +05:30
|
|
|
includeGroup("com.google.testing.platform")
|
|
|
|
}
|
|
|
|
}
|
2022-05-25 17:59:04 +05:30
|
|
|
exclusiveContent {
|
2022-08-23 15:21:22 +05:30
|
|
|
forRepository { gradlePluginPortal() }
|
2022-05-25 17:59:04 +05:30
|
|
|
filter {
|
2024-04-03 11:23:56 +05:30
|
|
|
includeModule("com.gradle", "develocity-gradle-plugin")
|
|
|
|
includeModule("com.gradle.develocity", "com.gradle.develocity.gradle.plugin")
|
2022-10-21 12:02:23 +05:30
|
|
|
includeModule("me.tylerbwong.gradle.metalava", "plugin")
|
2023-07-12 15:24:40 +05:30
|
|
|
includeModule(
|
|
|
|
"org.gradle.toolchains.foojay-resolver-convention",
|
|
|
|
"org.gradle.toolchains.foojay-resolver-convention.gradle.plugin",
|
|
|
|
)
|
|
|
|
includeModule("org.gradle.toolchains", "foojay-resolver")
|
2022-05-25 17:59:04 +05:30
|
|
|
}
|
|
|
|
}
|
2022-07-07 14:28:45 +05:30
|
|
|
exclusiveContent {
|
|
|
|
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
|
|
|
|
filter { includeModule("com.android.tools", "r8") }
|
|
|
|
}
|
2024-01-08 23:24:09 +05:30
|
|
|
mavenCentral { mavenContent { releasesOnly() } }
|
2021-10-09 13:13:14 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-12 15:24:40 +05:30
|
|
|
plugins {
|
2024-01-13 00:06:14 +05:30
|
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
2024-09-10 23:30:24 +05:30
|
|
|
id("com.gradle.develocity") version "3.18.1"
|
2023-07-12 15:24:40 +05:30
|
|
|
}
|
2022-05-25 17:59:04 +05:30
|
|
|
|
2024-04-03 11:23:56 +05:30
|
|
|
develocity {
|
2022-05-25 17:59:04 +05:30
|
|
|
buildScan {
|
2024-04-14 23:27:40 +05:30
|
|
|
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
|
2024-04-03 11:23:56 +05:30
|
|
|
termsOfUseAgree = if (System.getenv("GITHUB_WORKFLOW").isNullOrEmpty()) "no" else "yes"
|
|
|
|
publishing.onlyIf { !System.getenv("GITHUB_WORKFLOW").isNullOrEmpty() }
|
2022-05-25 17:59:04 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-09 13:13:14 +05:30
|
|
|
dependencyResolutionManagement {
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
repositories {
|
2024-01-08 23:24:09 +05:30
|
|
|
google {
|
|
|
|
content {
|
2023-12-17 14:42:40 +05:30
|
|
|
includeGroupByRegex("androidx.*")
|
|
|
|
includeGroupByRegex("com.android.*")
|
2022-05-09 13:16:27 +05:30
|
|
|
includeGroup("com.google.android.gms")
|
|
|
|
includeModule("com.google.android.material", "material")
|
|
|
|
}
|
|
|
|
}
|
2022-07-07 14:28:45 +05:30
|
|
|
exclusiveContent {
|
|
|
|
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
|
|
|
|
filter { includeModule("com.android.tools", "r8") }
|
|
|
|
}
|
2023-12-06 19:09:09 +00:00
|
|
|
maven("https://androidx.dev/storage/compose-compiler/repository") {
|
|
|
|
name = "Compose Compiler Snapshots"
|
|
|
|
content { includeGroup("androidx.compose.compiler") }
|
2023-08-24 04:50:11 +00:00
|
|
|
}
|
2024-01-08 23:24:09 +05:30
|
|
|
mavenCentral { mavenContent { releasesOnly() } }
|
2020-09-20 16:54:38 +05:30
|
|
|
}
|
|
|
|
}
|
2021-11-29 01:41:04 +05:30
|
|
|
|
|
|
|
// Experimental features
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
2022-05-16 14:02:00 +05:30
|
|
|
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
|
|
|
|
|
2021-11-29 01:41:04 +05:30
|
|
|
// Modules
|
|
|
|
include("app")
|
|
|
|
|
|
|
|
include("autofill-parser")
|
|
|
|
|
2021-12-09 10:07:54 +05:30
|
|
|
include("coroutine-utils")
|
|
|
|
|
2021-11-29 01:41:04 +05:30
|
|
|
include("crypto:common")
|
|
|
|
|
|
|
|
include("crypto:pgpainless")
|
|
|
|
|
|
|
|
include("format:common")
|
|
|
|
|
2021-12-09 22:00:33 +05:30
|
|
|
include("passgen:diceware")
|
2022-01-13 22:13:53 +05:30
|
|
|
|
2022-01-26 22:41:04 +05:30
|
|
|
include("passgen:random")
|
|
|
|
|
2022-03-13 17:41:01 +05:30
|
|
|
include("sentry-stub")
|
2022-07-06 21:17:55 +05:30
|
|
|
|
|
|
|
include("ui:compose")
|