2019-10-02 14:41:22 +02:00
|
|
|
/*
|
2021-03-09 10:15:27 +01:00
|
|
|
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
2019-10-02 16:40:07 +02:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
2019-10-02 14:41:22 +02:00
|
|
|
*/
|
2021-03-09 10:23:11 +01:00
|
|
|
|
2021-04-16 17:38:51 +02:00
|
|
|
// Plugin repositories
|
2020-09-20 13:24:38 +02:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
2021-11-28 21:11:04 +01:00
|
|
|
includeBuild("build-logic")
|
|
|
|
google()
|
2021-10-09 09:43:14 +02:00
|
|
|
mavenCentral()
|
2020-09-20 13:24:38 +02:00
|
|
|
gradlePluginPortal()
|
2021-10-09 09:43:14 +02:00
|
|
|
}
|
2021-11-28 22:08:06 +01:00
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
|
|
|
if (requested.id.id == "dagger.hilt.android.plugin") {
|
|
|
|
useModule("com.google.dagger:hilt-android-gradle-plugin:2.40.3")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-11-29 21:07:42 +01:00
|
|
|
plugins {
|
|
|
|
id("com.vanniktech.maven.publish") version "0.18.0" apply false
|
|
|
|
id("org.jetbrains.dokka") version "1.6.0" apply false
|
|
|
|
}
|
2021-10-09 09:43:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
repositories {
|
2021-02-06 13:04:17 +01:00
|
|
|
mavenCentral()
|
2021-10-09 09:43:14 +02:00
|
|
|
google()
|
|
|
|
maven("https://jitpack.io") {
|
|
|
|
name = "JitPack"
|
|
|
|
content {
|
|
|
|
includeModule("com.github.haroldadmin", "WhatTheStack")
|
|
|
|
includeModule("com.github.open-keychain.open-keychain", "sshauthentication-api")
|
|
|
|
}
|
|
|
|
}
|
2020-09-20 13:24:38 +02:00
|
|
|
}
|
|
|
|
}
|
2021-11-28 21:11:04 +01:00
|
|
|
|
|
|
|
// Experimental features
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
|
|
|
enableFeaturePreview("VERSION_CATALOGS")
|
|
|
|
|
|
|
|
// Modules
|
|
|
|
include("app")
|
|
|
|
|
|
|
|
include("autofill-parser")
|
|
|
|
|
|
|
|
include("crypto-common")
|
|
|
|
|
|
|
|
include("crypto-pgpainless")
|
|
|
|
|
|
|
|
include("format-common")
|
|
|
|
|
|
|
|
include("openpgp-ktx")
|
|
|
|
|
|
|
|
include(":dependency-sync")
|