Wizard: place kotlin.code.style to gradle.properties file instead of local.properties
#KT-37923 fixed
This commit is contained in:
+4
-4
@@ -31,7 +31,9 @@ abstract class GradlePlugin(context: Context) : BuildSystemPlugin(context) {
|
|||||||
|
|
||||||
val gradleVersions by property<List<Version>>(emptyList())
|
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>()
|
val settingsGradleFileIRs by listProperty<BuildSystemIR>()
|
||||||
|
|
||||||
@@ -55,9 +57,7 @@ abstract class GradlePlugin(context: Context) : BuildSystemPlugin(context) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val localProperties by listProperty(
|
val localProperties by listProperty<Pair<String, String>>()
|
||||||
"kotlin.code.style" to "official"
|
|
||||||
)
|
|
||||||
|
|
||||||
val createLocalPropertiesFile by pipelineTask(GenerationPhase.PROJECT_GENERATION) {
|
val createLocalPropertiesFile by pipelineTask(GenerationPhase.PROJECT_GENERATION) {
|
||||||
runAfter(KotlinPlugin::createModules)
|
runAfter(KotlinPlugin::createModules)
|
||||||
|
|||||||
Reference in New Issue
Block a user