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-05-07 12:57:55 +02:00
|
|
|
plugins { `kotlin-dsl` }
|
2020-07-23 11:09:36 +02:00
|
|
|
|
|
|
|
repositories {
|
2020-10-16 17:18:11 +02:00
|
|
|
google()
|
|
|
|
gradlePluginPortal()
|
2021-02-06 13:04:17 +01:00
|
|
|
mavenCentral()
|
2021-05-06 08:53:53 +02: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 11:09:36 +02:00
|
|
|
}
|
|
|
|
|
2020-10-16 17:18:11 +02:00
|
|
|
gradlePlugin {
|
|
|
|
plugins {
|
|
|
|
register("aps") {
|
|
|
|
id = "aps-plugin"
|
|
|
|
implementationClass = "PasswordStorePlugin"
|
|
|
|
}
|
2020-12-30 11:06:51 +01:00
|
|
|
register("crowdin") {
|
|
|
|
id = "crowdin-plugin"
|
|
|
|
implementationClass = "CrowdinDownloadPlugin"
|
|
|
|
}
|
2021-01-20 15:57:04 +01:00
|
|
|
register("versioning") {
|
|
|
|
id = "versioning-plugin"
|
|
|
|
implementationClass = "VersioningPlugin"
|
2020-10-16 17:18:11 +02:00
|
|
|
}
|
2021-07-29 17:53:59 +02:00
|
|
|
register("psl") {
|
|
|
|
id = "psl-plugin"
|
|
|
|
implementationClass = "PublicSuffixListPlugin"
|
|
|
|
}
|
2021-03-09 10:23:11 +01:00
|
|
|
}
|
2020-10-16 17:18:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-09-03 14:19:05 +02:00
|
|
|
implementation("com.android.tools.build:gradle:7.0.2")
|
2021-07-21 21:39:23 +02:00
|
|
|
implementation("com.diffplug.spotless:spotless-plugin-gradle:5.14.2")
|
2021-10-06 13:32:02 +02:00
|
|
|
implementation("com.google.dagger:hilt-android-gradle-plugin:2.39.1")
|
2021-05-07 12:57:55 +02:00
|
|
|
implementation("com.squareup.okhttp3:okhttp:4.9.0")
|
2021-07-21 21:39:23 +02:00
|
|
|
implementation("com.vanniktech:gradle-maven-publish-plugin:0.17.0")
|
2021-04-16 13:05:27 +02:00
|
|
|
implementation("com.vdurmont:semver4j:3.1.0")
|
2021-07-21 21:39:23 +02:00
|
|
|
implementation("de.undercouch:gradle-download-task:4.1.2")
|
|
|
|
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.5.0")
|
2021-10-06 13:32:02 +02:00
|
|
|
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31")
|
2021-07-21 21:39:23 +02:00
|
|
|
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.6.0")
|
2020-10-16 17:18:11 +02:00
|
|
|
}
|