Browse Source

Enable official code style when root dir is opened in Intellij

pull/28/head
Alexey Tsvetkov 4 years ago committed by Alexey Tsvetkov
parent
commit
014fb87429
  1. 3
      gradle-plugins/gradle.properties
  2. 4
      gradle.properties

3
gradle-plugins/gradle.properties

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

4
gradle.properties

@ -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
Loading…
Cancel
Save