summaryrefslogtreecommitdiff
path: root/settings.gradle.kts
blob: 5b91b26c5f99507cb1ebb1fbbdbd3b00e2f55e0d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
 * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
 * SPDX-License-Identifier: GPL-3.0-only
 */

// Plugin repositories
pluginManagement {
  repositories {
    includeBuild("build-logic")
    google()
    mavenCentral()
    gradlePluginPortal()
  }
  resolutionStrategy {
    eachPlugin {
      if (requested.id.id == "dagger.hilt.android.plugin") {
        useModule("com.google.dagger:hilt-android-gradle-plugin:2.40.4")
      }
    }
  }
  plugins {
    id("com.vanniktech.maven.publish") version "0.18.0" apply false
    id("org.jetbrains.dokka") version "1.6.0" apply false
  }
}

dependencyResolutionManagement {
  repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
  repositories {
    mavenCentral()
    google()
    maven("https://jitpack.io") {
      name = "JitPack"
      content {
        includeModule("com.github.haroldadmin", "WhatTheStack")
        includeModule("com.github.open-keychain.open-keychain", "sshauthentication-api")
      }
    }
  }
}

// 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")