diff --git a/examples/gradle-kotlin-dsl/src/main/kotlin/AnotherTest.kt b/examples/gradle-kotlin-dsl/src/main/kotlin/AnotherTest.kt index 9694c4bf1c..f694d51893 100644 --- a/examples/gradle-kotlin-dsl/src/main/kotlin/AnotherTest.kt +++ b/examples/gradle-kotlin-dsl/src/main/kotlin/AnotherTest.kt @@ -1,16 +1,15 @@ package whate.ver fun String.createPluginConfig() { - val pluginConfig = TomlDecoder.decode( - serializer(), - fakeFileNode, - DecoderConf() - ) - pluginConfig.configLocation = this.toPath() - pluginConfig.prop1 = property1 - // comment1 - pluginConfig.configLocation2 = this.toPath() - // comment2 - pluginConfig.prop2 = property2 + val pluginConfig = TomlDecoder.decode( + serializer(), + fakeFileNode, + DecoderConf() + ) + pluginConfig.configLocation = this.toPath() + pluginConfig.prop1 = property1 + // comment1 + pluginConfig.configLocation2 = this.toPath() + // comment2 + pluginConfig.prop2 = property2 } - diff --git a/examples/gradle-kotlin-dsl/src/main/kotlin/Test.kt b/examples/gradle-kotlin-dsl/src/main/kotlin/Test.kt index ccd95988e8..a6908961a8 100644 --- a/examples/gradle-kotlin-dsl/src/main/kotlin/Test.kt +++ b/examples/gradle-kotlin-dsl/src/main/kotlin/Test.kt @@ -1,13 +1,13 @@ package incorrect class incorrectname: Exception() { - fun INCORRECT_FUNCTION() { - throw Exception() - } + fun INCORRECT_FUNCTION() { + throw Exception() + } - // fun myCommentedFunction() { - // } + // fun myCommentedFunction() { + // } - val Incorrect_Val = 5 + val Incorrect_Val = 5 }