File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
main/kotlin/com/google/devtools/ksp/gradle
test/kotlin/com/google/devtools/ksp/gradle Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ abstract class KspAATask @Inject constructor(
218
218
provider.asArguments().forEach { argument ->
219
219
val kv = Regex (" (\\ S+)=(\\ S+)" ).matchEntire(argument)?.groupValues
220
220
require(kv != null && kv.size == 3 ) {
221
- " KSP apoption does not match ( \\ S+)=( \\ S+) : $argument "
221
+ " Processor arguments not in the format \\ S+= \\ S+: $argument "
222
222
}
223
223
put(kv[1 ], kv[2 ])
224
224
}
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ class KspGradleSubplugin @Inject internal constructor(private val registry: Tool
194
194
providers.flatMap { provider ->
195
195
provider.asArguments().map { argument ->
196
196
require(argument.matches(Regex (" \\ S+=\\ S+" ))) {
197
- " KSP apoption does not match \\ S+=\\ S+: $argument "
197
+ " Processor arguments not in the format \\ S+=\\ S+: $argument "
198
198
}
199
199
InternalSubpluginOption (" apoption" , argument)
200
200
}
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ class GradleCompilationTest {
306
306
)
307
307
308
308
val result = testRule.runner().withArguments(" :app:assemble" ).buildAndFail()
309
- assertThat(result.output).contains(" KSP apoption does not match \\ S+=\\ S+: invalid" )
309
+ assertThat(result.output).contains(" Processor arguments not in the format \\ S+=\\ S+: invalid" )
310
310
}
311
311
312
312
@Test
You can’t perform that action at this time.
0 commit comments