summaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
blob: 6c4786e87ed06876fe41c3ecdb15df71a930c9c2 (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
/*
 * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
 * SPDX-License-Identifier: GPL-3.0-only
 */

plugins { `kotlin-dsl` }

repositories {
  mavenCentral()
  gradlePluginPortal()
  google()
}

gradlePlugin {
  plugins {
    register("aps") {
      id = "aps-plugin"
      implementationClass = "PasswordStorePlugin"
    }
    register("crowdin") {
      id = "crowdin-plugin"
      implementationClass = "CrowdinDownloadPlugin"
    }
    register("versioning") {
      id = "versioning-plugin"
      implementationClass = "VersioningPlugin"
    }
    register("psl") {
      id = "psl-plugin"
      implementationClass = "PublicSuffixListPlugin"
    }
  }
}

dependencies {
  implementation("com.android.tools.build:gradle:7.0.3")
  implementation("com.diffplug.spotless:spotless-plugin-gradle:5.16.0")
  implementation("com.google.dagger:hilt-android-gradle-plugin:2.40.1")
  implementation("com.squareup.okhttp3:okhttp:4.9.0")
  implementation("com.vanniktech:gradle-maven-publish-plugin:0.18.0")
  implementation("com.vdurmont:semver4j:3.1.0")
  implementation("de.undercouch:gradle-download-task:4.1.2")
  implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.5.31")
  implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31")
  implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.6.0")
}