summaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-03-09 14:41:51 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-03-18 11:26:48 +0530
commitcd378d1bbc5ac6bcd206699271f692bab61d308e (patch)
tree3e882723325e9c030bc8a1b18c764cdbbe8d1464 /build.gradle.kts
parent5e28cf45e44e26e9ce14ba5f6d46871515533bc9 (diff)
build: apply Ktfmt Gradle plugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index da32e794..6e57ce2e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -7,6 +7,16 @@ plugins {
`aps-plugin`
}
+buildscript {
+ dependencies {
+ classpath(Plugins.ktfmtGradlePlugin)
+ }
+}
+
+allprojects {
+ apply(plugin = "com.ncorti.ktfmt.gradle")
+}
+
subprojects {
configurations.all {
resolutionStrategy.dependencySubstitution {