Wizard: place kotlin.code.style to gradle.properties file instead of local.properties

#KT-37923 fixed
This commit is contained in:
Ilya Kirillov
2020-04-01 19:59:13 +03:00
parent db2c2cc8d9
commit 3e6ab65ccc
@@ -31,7 +31,9 @@ abstract class GradlePlugin(context: Context) : BuildSystemPlugin(context) {
val gradleVersions by property<List<Version>>(emptyList())
val gradleProperties by listProperty<Pair<String, String>>()
val gradleProperties by listProperty(
"kotlin.code.style" to "official"
)
val settingsGradleFileIRs by listProperty<BuildSystemIR>()
@@ -55,9 +57,7 @@ abstract class GradlePlugin(context: Context) : BuildSystemPlugin(context) {
}
}
val localProperties by listProperty(
"kotlin.code.style" to "official"
)
val localProperties by listProperty<Pair<String, String>>()
val createLocalPropertiesFile by pipelineTask(GenerationPhase.PROJECT_GENERATION) {
runAfter(KotlinPlugin::createModules)