Skip to content

Commit

Permalink
Feat : Added ktlint dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Mar 8, 2024
1 parent dbe739e commit bb12615
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ buildscript {
}
}

plugins {
id 'org.jlleitschuh.gradle.ktlint' version '11.6.1' apply false
}
allprojects {
repositories {
google()
Expand All @@ -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']
}
Expand Down

0 comments on commit bb12615

Please sign in to comment.