diff --git a/wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WireInput.kt b/wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WireInput.kt index 45b09635a4..9b8fe80ebf 100644 --- a/wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WireInput.kt +++ b/wire-gradle-plugin/src/main/kotlin/com/squareup/wire/gradle/WireInput.kt @@ -65,8 +65,8 @@ internal fun InputLocation.toLocations( |For individual files, use the following syntax: |wire { | sourcePath { - | srcDir 'dirPath' - | include 'relativePath' + | srcDir("dirPath") + | include("relativePath") | } |} """.trimMargin(), diff --git a/wire-gradle-plugin/src/test/kotlin/com/squareup/wire/gradle/WirePluginTest.kt b/wire-gradle-plugin/src/test/kotlin/com/squareup/wire/gradle/WirePluginTest.kt index bfcf8204d5..3c8abb2bc6 100644 --- a/wire-gradle-plugin/src/test/kotlin/com/squareup/wire/gradle/WirePluginTest.kt +++ b/wire-gradle-plugin/src/test/kotlin/com/squareup/wire/gradle/WirePluginTest.kt @@ -182,8 +182,8 @@ class WirePluginTest { |For individual files, use the following syntax: |wire { | sourcePath { - | srcDir 'dirPath' - | include 'relativePath' + | srcDir("dirPath") + | include("relativePath") | } |} """.trimMargin().withPlatformSlashes(),