2019-10-02 12:41:22 +00:00
|
|
|
/*
|
2021-03-09 09:15:27 +00:00
|
|
|
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
2019-10-02 14:40:07 +00:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
2019-10-02 12:41:22 +00:00
|
|
|
*/
|
2022-03-13 12:11:01 +00:00
|
|
|
@file:Suppress("UnstableApiUsage")
|
2021-03-09 09:23:11 +00:00
|
|
|
|
2021-12-10 18:42:54 +00:00
|
|
|
rootProject.name = "APS"
|
|
|
|
|
2021-04-16 15:38:51 +00:00
|
|
|
// Plugin repositories
|
2020-09-20 11:24:38 +00:00
|
|
|
pluginManagement {
|
2021-03-09 09:23:11 +00:00
|
|
|
repositories {
|
2021-11-28 20:11:04 +00:00
|
|
|
includeBuild("build-logic")
|
2022-05-09 07:46:27 +00:00
|
|
|
exclusiveContent {
|
2022-08-23 09:51:22 +00:00
|
|
|
forRepository { google() }
|
2022-05-09 07:46:27 +00:00
|
|
|
filter {
|
|
|
|
includeGroup("androidx.databinding")
|
|
|
|
includeGroup("com.android")
|
|
|
|
includeGroup("com.android.tools.analytics-library")
|
|
|
|
includeGroup("com.android.tools.build")
|
|
|
|
includeGroup("com.android.tools.build.jetifier")
|
|
|
|
includeGroup("com.android.databinding")
|
|
|
|
includeGroup("com.android.tools.ddms")
|
|
|
|
includeGroup("com.android.tools.layoutlib")
|
|
|
|
includeGroup("com.android.tools.lint")
|
|
|
|
includeGroup("com.android.tools.utp")
|
|
|
|
includeGroup("com.google.testing.platform")
|
2022-07-07 08:58:45 +00:00
|
|
|
includeModule("com.android.tools", "annotations")
|
|
|
|
includeModule("com.android.tools", "common")
|
|
|
|
includeModule("com.android.tools", "desugar_jdk_libs")
|
|
|
|
includeModule("com.android.tools", "desugar_jdk_libs_configuration")
|
|
|
|
includeModule("com.android.tools", "dvlib")
|
2022-07-09 10:16:01 +00:00
|
|
|
includeModule("com.android.tools", "play-sdk-proto")
|
2022-07-07 08:58:45 +00:00
|
|
|
includeModule("com.android.tools", "repository")
|
|
|
|
includeModule("com.android.tools", "sdklib")
|
|
|
|
includeModule("com.android.tools", "sdk-common")
|
2022-05-09 07:46:27 +00:00
|
|
|
}
|
|
|
|
}
|
2022-05-25 12:29:04 +00:00
|
|
|
exclusiveContent {
|
2022-08-23 09:51:22 +00:00
|
|
|
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")
|
2022-10-21 06:32:23 +00:00
|
|
|
includeModule("me.tylerbwong.gradle.metalava", "plugin")
|
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") }
|
|
|
|
}
|
2021-10-09 07:43:14 +00:00
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-12 16:19:31 +00:00
|
|
|
plugins { id("com.gradle.enterprise") version "3.11.2" }
|
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())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-09 07:43:14 +00:00
|
|
|
dependencyResolutionManagement {
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
repositories {
|
2022-05-09 07:46:27 +00:00
|
|
|
exclusiveContent {
|
2022-08-23 09:51:22 +00:00
|
|
|
forRepository { google() }
|
2022-05-09 07:46:27 +00:00
|
|
|
filter {
|
2022-10-03 08:43:16 +00:00
|
|
|
includeGroup("androidx.activity")
|
|
|
|
includeGroup("androidx.appcompat")
|
|
|
|
includeGroup("androidx.annotation")
|
|
|
|
includeGroup("androidx.arch.core")
|
|
|
|
includeGroup("androidx.autofill")
|
|
|
|
includeGroup("androidx.biometric")
|
|
|
|
includeGroup("androidx.browser")
|
|
|
|
includeGroup("androidx.cardview")
|
|
|
|
includeGroup("androidx.collection")
|
|
|
|
includeGroup("androidx.compose.animation")
|
2022-10-05 14:58:51 +00:00
|
|
|
includeGroup("androidx.compose.compiler")
|
2022-10-03 08:43:16 +00:00
|
|
|
includeGroup("androidx.compose.foundation")
|
|
|
|
includeGroup("androidx.compose.material")
|
|
|
|
includeGroup("androidx.compose.material3")
|
|
|
|
includeGroup("androidx.compose.runtime")
|
|
|
|
includeGroup("androidx.compose.ui")
|
|
|
|
includeGroup("androidx.concurrent")
|
|
|
|
includeGroup("androidx.constraintlayout")
|
|
|
|
includeGroup("androidx.coordinatorlayout")
|
|
|
|
includeGroup("androidx.core")
|
|
|
|
includeGroup("androidx.cursoradapter")
|
|
|
|
includeGroup("androidx.customview")
|
|
|
|
includeGroup("androidx.databinding")
|
|
|
|
includeGroup("androidx.documentfile")
|
|
|
|
includeGroup("androidx.drawerlayout")
|
|
|
|
includeGroup("androidx.dynamicanimation")
|
|
|
|
includeGroup("androidx.emoji2")
|
|
|
|
includeGroup("androidx.exifinterface")
|
|
|
|
includeGroup("androidx.fragment")
|
|
|
|
includeGroup("androidx.hilt")
|
|
|
|
includeGroup("androidx.interpolator")
|
|
|
|
includeGroup("androidx.legacy")
|
|
|
|
includeGroup("androidx.lifecycle")
|
|
|
|
includeGroup("androidx.loader")
|
|
|
|
includeGroup("androidx.localbroadcastmanager")
|
|
|
|
includeGroup("androidx.preference")
|
|
|
|
includeGroup("androidx.print")
|
|
|
|
includeGroup("androidx.profileinstaller")
|
|
|
|
includeGroup("androidx.recyclerview")
|
|
|
|
includeGroup("androidx.resourceinspection")
|
|
|
|
includeGroup("androidx.room")
|
|
|
|
includeGroup("androidx.savedstate")
|
|
|
|
includeGroup("androidx.security")
|
|
|
|
includeGroup("androidx.slidingpanelayout")
|
|
|
|
includeGroup("androidx.startup")
|
|
|
|
includeGroup("androidx.sqlite")
|
|
|
|
includeGroup("androidx.swiperefreshlayout")
|
|
|
|
includeGroup("androidx.test")
|
|
|
|
includeGroup("androidx.test.espresso")
|
|
|
|
includeGroup("androidx.tracing")
|
|
|
|
includeGroup("androidx.transition")
|
|
|
|
includeGroup("androidx.vectordrawable")
|
|
|
|
includeGroup("androidx.versionedparcelable")
|
|
|
|
includeGroup("androidx.viewpager")
|
|
|
|
includeGroup("androidx.viewpager2")
|
|
|
|
includeGroup("androidx.window")
|
2022-05-09 07:46:27 +00:00
|
|
|
includeGroup("com.android")
|
|
|
|
includeGroup("com.android.tools.analytics-library")
|
|
|
|
includeGroup("com.android.tools.build")
|
|
|
|
includeGroup("com.android.tools.ddms")
|
|
|
|
includeGroup("com.android.tools.external.com-intellij")
|
|
|
|
includeGroup("com.android.tools.external.org-jetbrains")
|
|
|
|
includeGroup("com.android.tools.layoutlib")
|
|
|
|
includeGroup("com.android.tools.lint")
|
|
|
|
includeGroup("com.google.android.gms")
|
2022-10-25 12:58:45 +00:00
|
|
|
includeModule("androidx.compose", "compose-bom")
|
2022-07-07 08:58:45 +00:00
|
|
|
includeModule("com.android.tools", "annotations")
|
|
|
|
includeModule("com.android.tools", "common")
|
|
|
|
includeModule("com.android.tools", "desugar_jdk_libs")
|
|
|
|
includeModule("com.android.tools", "desugar_jdk_libs_configuration")
|
|
|
|
includeModule("com.android.tools", "dvlib")
|
2022-07-09 10:16:01 +00:00
|
|
|
includeModule("com.android.tools", "play-sdk-proto")
|
2022-07-07 08:58:45 +00:00
|
|
|
includeModule("com.android.tools", "repository")
|
|
|
|
includeModule("com.android.tools", "sdklib")
|
|
|
|
includeModule("com.android.tools", "sdk-common")
|
2022-10-21 06:32:23 +00:00
|
|
|
includeModule("com.android.tools.metalava", "metalava")
|
2022-05-09 07:46:27 +00:00
|
|
|
includeModule("com.google.android.material", "material")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
exclusiveContent {
|
|
|
|
forRepository { maven("https://jitpack.io") }
|
2022-07-15 08:30:15 +00:00
|
|
|
filter { includeModule("com.github.haroldadmin", "WhatTheStack") }
|
2021-10-09 07:43:14 +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") }
|
|
|
|
}
|
2022-05-09 07:46:27 +00:00
|
|
|
mavenCentral()
|
2021-03-09 09:23:11 +00:00
|
|
|
}
|
2020-09-20 11:24:38 +00:00
|
|
|
}
|
2021-11-28 20:11:04 +00:00
|
|
|
|
|
|
|
// Experimental features
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
2022-05-16 08:32:00 +00:00
|
|
|
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
|
|
|
|
|
2021-11-28 20:11:04 +00:00
|
|
|
// Modules
|
|
|
|
include("app")
|
|
|
|
|
|
|
|
include("autofill-parser")
|
|
|
|
|
2021-12-09 04:37:54 +00:00
|
|
|
include("coroutine-utils")
|
|
|
|
|
|
|
|
include("coroutine-utils-testing")
|
|
|
|
|
2021-11-28 20:11:04 +00:00
|
|
|
include("crypto-common")
|
|
|
|
|
|
|
|
include("crypto-pgpainless")
|
|
|
|
|
|
|
|
include("format-common")
|
|
|
|
|
2022-10-21 16:06:27 +00:00
|
|
|
include("format-common-impl")
|
|
|
|
|
2021-12-09 16:30:33 +00:00
|
|
|
include("passgen:diceware")
|
2022-01-13 16:43:53 +00:00
|
|
|
|
2022-01-26 17:11:04 +00:00
|
|
|
include("passgen:random")
|
|
|
|
|
2022-03-13 12:11:01 +00:00
|
|
|
include("sentry-stub")
|
2022-07-06 15:47:55 +00:00
|
|
|
|
|
|
|
include("ui-compose")
|