summaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-05-07 16:27:55 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-05-09 11:52:33 +0530
commit7050f0ea40fc0a0f1d190f5c2632e6b671beed4e (patch)
tree11bef5f84399bb60fd0f98fcf5c2334d566b5b06 /buildSrc/build.gradle.kts
parent00e0881e47fc1f9d7accb6a242417f7be636a9be (diff)
build: switch to Spotless for formatting
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'buildSrc/build.gradle.kts')
-rw-r--r--buildSrc/build.gradle.kts21
1 files changed, 7 insertions, 14 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index 407e79f0..3651ac9f 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -3,10 +3,7 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
-plugins {
- `kotlin-dsl`
- id("com.ncorti.ktfmt.gradle") version "0.5.0"
-}
+plugins { `kotlin-dsl` }
repositories {
google()
@@ -26,11 +23,6 @@ repositories {
}
}
-ktfmt {
- googleStyle()
- maxWidth.set(120)
-}
-
gradlePlugin {
plugins {
register("aps") {
@@ -50,13 +42,14 @@ gradlePlugin {
dependencies {
implementation("com.android.tools.build:gradle:4.2.0")
- implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.5.0")
- implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.32")
- implementation("de.undercouch:gradle-download-task:4.1.1")
+ implementation("com.diffplug.spotless:spotless-plugin-gradle:5.12.4")
implementation("com.google.dagger:hilt-android-gradle-plugin:2.35.1")
- implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0")
- implementation("com.ncorti.ktfmt.gradle:plugin:0.5.0")
+ implementation("com.squareup.okhttp3:okhttp:4.9.0")
implementation("com.vanniktech:gradle-maven-publish-plugin:0.15.1")
implementation("com.squareup.okhttp3:okhttp:4.9.0")
implementation("com.vdurmont:semver4j:3.1.0")
+ implementation("de.undercouch:gradle-download-task:4.1.1")
+ implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.32")
+ implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0")
+ implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.5.0")
}