From cd378d1bbc5ac6bcd206699271f692bab61d308e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 9 Mar 2021 14:41:51 +0530 Subject: build: apply Ktfmt Gradle plugin Signed-off-by: Harsh Shandilya --- build.gradle.kts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'build.gradle.kts') 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 { -- cgit v1.2.3