From 774fda83ac276a635e3402034b1eedbd10be916f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 9 Mar 2021 14:53:11 +0530 Subject: all: reformat with ktfmt Signed-off-by: Harsh Shandilya --- buildSrc/build.gradle.kts | 60 ++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 32 deletions(-) (limited to 'buildSrc/build.gradle.kts') 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) } -- cgit v1.2.3