From bb12615361caf493f79e31b99f838e3274a7abd0 Mon Sep 17 00:00:00 2001 From: Neel Doshi Date: Sat, 9 Mar 2024 00:39:03 +0530 Subject: [PATCH] Feat : Added ktlint dependency --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 8e8c8911db..c430470412 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,9 @@ buildscript { } } +plugins { + id 'org.jlleitschuh.gradle.ktlint' version '11.6.1' apply false +} allprojects { repositories { google() @@ -23,6 +26,7 @@ allprojects { } } subprojects{ + apply plugin: "org.jlleitschuh.gradle.ktlint" tasks.withType(Test).configureEach{ jvmArgs = jvmArgs + ['--add-opens=java.base/java.lang=ALL-UNNAMED'] }