summaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-03-09 14:53:11 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-03-18 11:40:30 +0530
commit774fda83ac276a635e3402034b1eedbd10be916f (patch)
tree57783a953fcd193d32f1e3dc8df26e07f03df328 /buildSrc/build.gradle.kts
parentbe31ae37f443982b377d027cd613f04d0926568d (diff)
all: reformat with ktfmt
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
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)
}