Android-Password-Store/buildSrc/build.gradle.kts

55 lines
1.8 KiB
Text
Raw Normal View History

/*
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
plugins { `kotlin-dsl` }
2020-07-23 09:09:36 +00:00
repositories {
google()
gradlePluginPortal()
mavenCentral()
// 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
}
gradlePlugin {
plugins {
register("aps") {
id = "aps-plugin"
implementationClass = "PasswordStorePlugin"
}
register("crowdin") {
id = "crowdin-plugin"
implementationClass = "CrowdinDownloadPlugin"
}
register("versioning") {
id = "versioning-plugin"
implementationClass = "VersioningPlugin"
}
}
}
dependencies {
2021-07-21 19:39:23 +00:00
implementation("com.android.tools.build:gradle:4.2.2")
implementation("com.diffplug.spotless:spotless-plugin-gradle:5.14.2")
implementation("com.google.dagger:hilt-android-gradle-plugin:2.38")
implementation("com.squareup.okhttp3:okhttp:4.9.0")
2021-07-21 19:39:23 +00:00
implementation("com.vanniktech:gradle-maven-publish-plugin:0.17.0")
implementation("com.vdurmont:semver4j:3.1.0")
2021-07-21 19:39:23 +00:00
implementation("de.undercouch:gradle-download-task:4.1.2")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.5.0")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21")
2021-07-21 19:39:23 +00:00
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.6.0")
}