2021-03-09 09:15:27 +00:00
|
|
|
/*
|
|
|
|
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2021-05-07 10:57:55 +00:00
|
|
|
plugins { `kotlin-dsl` }
|
2020-07-23 09:09:36 +00:00
|
|
|
|
|
|
|
repositories {
|
2020-10-16 15:18:11 +00:00
|
|
|
google()
|
|
|
|
gradlePluginPortal()
|
2021-02-06 12:04:17 +00:00
|
|
|
mavenCentral()
|
2021-05-06 06:53:53 +00:00
|
|
|
// Dokka's transitive kotlinx-html dependency is only published to their Space repo
|
|
|
|
// https://github.com/Kotlin/dokka/releases/tag/v1.4.32
|
|
|
|
maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") {
|
|
|
|
name = "KotlinX HTML Maven"
|
|
|
|
content {
|
|
|
|
includeModule("org.jetbrains.kotlinx", "kotlinx-html")
|
|
|
|
includeModule("org.jetbrains.kotlinx", "kotlinx-html-assembly")
|
|
|
|
includeModule("org.jetbrains.kotlinx", "kotlinx-html-common")
|
|
|
|
includeModule("org.jetbrains.kotlinx", "kotlinx-html-js")
|
|
|
|
includeModule("org.jetbrains.kotlinx", "kotlinx-html-jvm")
|
|
|
|
}
|
|
|
|
}
|
2020-07-23 09:09:36 +00:00
|
|
|
}
|
|
|
|
|
2020-10-16 15:18:11 +00:00
|
|
|
gradlePlugin {
|
|
|
|
plugins {
|
|
|
|
register("aps") {
|
|
|
|
id = "aps-plugin"
|
|
|
|
implementationClass = "PasswordStorePlugin"
|
|
|
|
}
|
2020-12-30 10:06:51 +00:00
|
|
|
register("crowdin") {
|
|
|
|
id = "crowdin-plugin"
|
|
|
|
implementationClass = "CrowdinDownloadPlugin"
|
|
|
|
}
|
2021-01-20 14:57:04 +00:00
|
|
|
register("versioning") {
|
|
|
|
id = "versioning-plugin"
|
|
|
|
implementationClass = "VersioningPlugin"
|
2020-10-16 15:18:11 +00:00
|
|
|
}
|
2021-03-09 09:23:11 +00:00
|
|
|
}
|
2020-10-16 15:18:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-22 16:43:29 +00:00
|
|
|
implementation("com.android.tools.build:gradle:4.2.1")
|
2021-05-07 10:57:55 +00:00
|
|
|
implementation("com.diffplug.spotless:spotless-plugin-gradle:5.12.4")
|
2021-06-24 18:58:05 +00:00
|
|
|
implementation("com.google.dagger:hilt-android-gradle-plugin:2.37")
|
2021-05-07 10:57:55 +00:00
|
|
|
implementation("com.squareup.okhttp3:okhttp:4.9.0")
|
2021-05-07 10:17:25 +00:00
|
|
|
implementation("com.vanniktech:gradle-maven-publish-plugin:0.15.1")
|
2021-04-16 11:05:27 +00:00
|
|
|
implementation("com.vdurmont:semver4j:3.1.0")
|
2021-05-07 10:57:55 +00:00
|
|
|
implementation("de.undercouch:gradle-download-task:4.1.1")
|
|
|
|
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.32")
|
2021-05-25 09:45:26 +00:00
|
|
|
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10")
|
2021-05-07 10:57:55 +00:00
|
|
|
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.5.0")
|
2020-10-16 15:18:11 +00:00
|
|
|
}
|