Enable official code style when root dir is opened in Intellij

This commit is contained in:
Alexey Tsvetkov
2020-10-23 15:01:04 +03:00
committed by Alexey Tsvetkov
parent 563dc37c9b
commit 014fb87429
2 changed files with 6 additions and 1 deletions

View File

@@ -1 +1,2 @@
org.gradle.parallel=true
kotlin.code.style=official

4
gradle.properties Normal file
View File

@@ -0,0 +1,4 @@
# A hack to allow opening whole project dir in Intellij and using official code style.
# Kotlin plugin does not import code style property from Gradle.
# Instead it parses project's root gradle.properties file.
kotlin.code.style=official