summaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'buildSrc/build.gradle.kts')
-rw-r--r--buildSrc/build.gradle.kts60
1 files changed, 28 insertions, 32 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index 87f70c66..627cab92 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -3,46 +3,42 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
-plugins {
- `kotlin-dsl`
-}
+plugins { `kotlin-dsl` }
repositories {
- google()
- gradlePluginPortal()
- mavenCentral()
- // For binary compatibility validator.
- maven { url = uri("https://kotlin.bintray.com/kotlinx") }
+ google()
+ gradlePluginPortal()
+ mavenCentral()
+ // For binary compatibility validator.
+ maven { url = uri("https://kotlin.bintray.com/kotlinx") }
}
-kotlinDslPluginOptions {
- experimentalWarning.set(false)
-}
+kotlinDslPluginOptions { experimentalWarning.set(false) }
gradlePlugin {
- plugins {
- register("aps") {
- id = "aps-plugin"
- implementationClass = "PasswordStorePlugin"
- }
- register("crowdin") {
- id = "crowdin-plugin"
- implementationClass = "CrowdinDownloadPlugin"
- }
- register("versioning") {
- id = "versioning-plugin"
- implementationClass = "VersioningPlugin"
- }
+ plugins {
+ register("aps") {
+ id = "aps-plugin"
+ implementationClass = "PasswordStorePlugin"
+ }
+ register("crowdin") {
+ id = "crowdin-plugin"
+ implementationClass = "CrowdinDownloadPlugin"
+ }
+ register("versioning") {
+ id = "versioning-plugin"
+ implementationClass = "VersioningPlugin"
}
+ }
}
dependencies {
- implementation(Plugins.androidGradlePlugin)
- implementation(Plugins.binaryCompatibilityValidator)
- implementation(Plugins.dokkaPlugin)
- implementation(Plugins.downloadTaskPlugin)
- implementation(Plugins.kotlinGradlePlugin)
- implementation(Plugins.ktfmtGradlePlugin)
- implementation(Plugins.mavenPublishPlugin)
- implementation(Plugins.semver4j)
+ implementation(Plugins.androidGradlePlugin)
+ implementation(Plugins.binaryCompatibilityValidator)
+ implementation(Plugins.dokkaPlugin)
+ implementation(Plugins.downloadTaskPlugin)
+ implementation(Plugins.kotlinGradlePlugin)
+ implementation(Plugins.ktfmtGradlePlugin)
+ implementation(Plugins.mavenPublishPlugin)
+ implementation(Plugins.semver4j)
}