File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,22 @@ max_line_length = 150
1919ij_kotlin_allow_trailing_comma = true
2020ij_kotlin_allow_trailing_comma_on_call_site = true
2121
22+ # Android default ktlint rules for kits
23+ # Uses android_studio code style with Android's default standard rules
24+ [kits/** /* .kt ]
25+ ktlint_code_style = android_studio
26+ indent_size = 4
27+ continuation_indent_size = 4
28+ max_line_length = 150
29+ insert_final_newline = true
30+ trim_trailing_whitespace = true
31+ # TODO: Align ktlint rules for kits with core modules to avoid divergence in coding standards
32+ ktlint_standard_function-signature = disabled
33+ ktlint_standard_max-line-length = disabled
34+ ktlint_standard_import-ordering = disabled
35+ ktlint_standard_no-unused-imports = disabled
36+ ktlint_standard_class-signature = disabled
37+
2238[tooling/** /* .kt ]
2339max_line_length = 200
2440
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ buildscript {
88 }
99 dependencies {
1010 classpath " com.android.tools.build:gradle:$gradle_version "
11- classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$k otlin_version "
11+ classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20 "
1212 }
1313}
1414
You can’t perform that action at this time.
0 commit comments