Android-Password-Store/settings.gradle.kts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

104 lines
2.9 KiB
Text
Raw Normal View History

/*
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
@file:Suppress("UnstableApiUsage")
rootProject.name = "APS"
// Plugin repositories
pluginManagement {
repositories {
includeBuild("build-logic")
google {
content {
includeGroup("androidx.databinding")
includeGroupByRegex("com.android.*")
includeGroup("com.google.testing.platform")
}
}
2022-05-25 12:29:04 +00:00
exclusiveContent {
forRepository { gradlePluginPortal() }
2022-05-25 12:29:04 +00:00
filter {
2022-06-30 16:03:59 +00:00
includeModule("com.github.ben-manes", "gradle-versions-plugin")
2022-05-25 12:29:04 +00:00
includeModule("com.gradle", "gradle-enterprise-gradle-plugin")
includeModule("com.gradle.enterprise", "com.gradle.enterprise.gradle.plugin")
includeModule("me.tylerbwong.gradle.metalava", "plugin")
includeModule(
"org.gradle.toolchains.foojay-resolver-convention",
"org.gradle.toolchains.foojay-resolver-convention.gradle.plugin",
)
includeModule("org.gradle.toolchains", "foojay-resolver")
2022-05-25 12:29:04 +00:00
}
}
2022-07-07 08:58:45 +00:00
exclusiveContent {
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
filter { includeModule("com.android.tools", "r8") }
}
2024-01-08 17:54:09 +00:00
mavenCentral { mavenContent { releasesOnly() } }
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
id("com.gradle.enterprise") version "3.16.1"
id("com.github.android-password-store.versions")
}
2022-05-25 12:29:04 +00:00
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = if (System.getenv("GITHUB_WORKFLOW").isNullOrEmpty()) "no" else "yes"
publishOnFailureIf(!System.getenv("GITHUB_WORKFLOW").isNullOrEmpty())
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
2024-01-08 17:54:09 +00:00
google {
content {
includeGroupByRegex("androidx.*")
includeGroupByRegex("com.android.*")
includeGroup("com.google.android.gms")
includeModule("com.google.android.material", "material")
}
}
2022-07-07 08:58:45 +00:00
exclusiveContent {
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
filter { includeModule("com.android.tools", "r8") }
}
maven("https://androidx.dev/storage/compose-compiler/repository") {
name = "Compose Compiler Snapshots"
content { includeGroup("androidx.compose.compiler") }
}
2024-01-08 17:54:09 +00:00
mavenCentral { mavenContent { releasesOnly() } }
}
}
// Experimental features
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
2022-05-16 08:32:00 +00:00
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
// Modules
include("app")
include("autofill-parser")
include("coroutine-utils")
include("crypto:common")
include("crypto:pgpainless")
include("format:common")
2021-12-09 16:30:33 +00:00
include("passgen:diceware")
include("passgen:random")
include("sentry-stub")
2022-07-06 15:47:55 +00:00
include("ui:compose")