ktlint: Setup and format kotlin scripts
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
9
.editorconfig
Normal file
9
.editorconfig
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2025 The Calyx Institute
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*.{kt,kts}]
|
||||||
|
ktlint_code_style = android_studio
|
||||||
@@ -170,6 +170,11 @@ ksp {
|
|||||||
arg("room.schemaLocation", "$projectDir/schemas")
|
arg("room.schemaLocation", "$projectDir/schemas")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ktlint {
|
||||||
|
android = true
|
||||||
|
verbose = true
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
// Google's Goodies
|
// Google's Goodies
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ hilt = "2.57.2"
|
|||||||
junit = "4.13.2"
|
junit = "4.13.2"
|
||||||
kotlin = "2.3.0"
|
kotlin = "2.3.0"
|
||||||
ksp = "2.3.4"
|
ksp = "2.3.4"
|
||||||
ktlint = "12.1.2"
|
ktlint = "14.0.1"
|
||||||
leakcanary = "2.14"
|
leakcanary = "2.14"
|
||||||
libsu = "6.0.0"
|
libsu = "6.0.0"
|
||||||
lifecycle = "2.10.0"
|
lifecycle = "2.10.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user