2021-03-09 10:15:27 +01:00
|
|
|
/*
|
|
|
|
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2021-03-20 08:39:52 +01:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
2021-04-12 14:08:06 +02:00
|
|
|
id("com.ncorti.ktfmt.gradle") version "0.5.0"
|
2021-03-20 08:39:52 +01:00
|
|
|
}
|
2020-07-23 11:09:36 +02:00
|
|
|
|
|
|
|
repositories {
|
2021-03-09 10:23:11 +01:00
|
|
|
google()
|
|
|
|
gradlePluginPortal()
|
|
|
|
mavenCentral()
|
2020-07-23 11:09:36 +02:00
|
|
|
}
|
|
|
|
|
2021-03-20 08:39:52 +01:00
|
|
|
ktfmt {
|
|
|
|
googleStyle()
|
|
|
|
maxWidth.set(120)
|
|
|
|
}
|
|
|
|
|
2020-10-16 17:18:11 +02:00
|
|
|
gradlePlugin {
|
2021-03-09 10:23:11 +01:00
|
|
|
plugins {
|
|
|
|
register("aps") {
|
|
|
|
id = "aps-plugin"
|
|
|
|
implementationClass = "PasswordStorePlugin"
|
|
|
|
}
|
|
|
|
register("crowdin") {
|
|
|
|
id = "crowdin-plugin"
|
|
|
|
implementationClass = "CrowdinDownloadPlugin"
|
|
|
|
}
|
|
|
|
register("versioning") {
|
|
|
|
id = "versioning-plugin"
|
|
|
|
implementationClass = "VersioningPlugin"
|
2020-10-16 17:18:11 +02:00
|
|
|
}
|
2021-03-09 10:23:11 +01:00
|
|
|
}
|
2020-10-16 17:18:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-04-16 13:05:27 +02:00
|
|
|
implementation("com.android.tools.build:gradle:4.1.3")
|
2021-04-16 13:36:04 +02:00
|
|
|
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.5.0")
|
2021-04-16 13:05:27 +02:00
|
|
|
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.30")
|
|
|
|
implementation("de.undercouch:gradle-download-task:4.1.1")
|
2021-04-16 17:36:57 +02:00
|
|
|
implementation("com.google.dagger:hilt-android-gradle-plugin:2.34.1-beta")
|
2021-04-16 13:05:27 +02:00
|
|
|
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32")
|
|
|
|
implementation("com.ncorti.ktfmt.gradle:plugin:0.5.0")
|
|
|
|
implementation("com.vanniktech:gradle-maven-publish-plugin:0.13.0")
|
|
|
|
implementation("com.vdurmont:semver4j:3.1.0")
|
2020-10-16 17:18:11 +02:00
|
|
|
}
|